Results 1 to 1 of 1

Thread: Spring-WS 1.5.9 JaxB marshaller and primitive type in request

  1. #1
    Join Date
    Jan 2011
    Posts
    1

    Default Spring-WS 1.5.9 JaxB marshaller and primitive type in request

    Hey!
    Is there a way to receive primitive types in request parameters of SOAP webservice endpoint? I have such method:
    Code:
    protected Response request(String, double, String, String)
    and when I send request to my webservice I get this exception:
    [WARN] ... SoapMessageDispatcher - Endpoint invocation resulted in exception - responding with SOAP Fault
    java.lang.IllegalStateException: No adapter for endpoint [...]: Does your endpoint implement a supported interface like MessageHandler or PayloadEndpoint?
    Perhaps this exception is caused by something else?
    Here are WSDL's parts for this request:
    Code:
    <operation name="request" parameterOrder="(String) ... (double) ... (String) ... (String) ...">
    			<input message="tns:request">
    			</input>
    			<output message="tns:response">
    			</output>
    </operation>
    Code:
    <message name="request">
    		<part name="..." type="xsd:string">
    		</part>
    		<part name="..." type="xsd:double">
    		</part>
    		<part name="..." type="xsd:string">
    		</part>
    		<part name="..." type="xsd:string">
    		</part>
    </message>
    Code:
    <message name="response">
    		<part name="..." type="tns:response">
    		</part>
    </message>
    Code:
    <xs:complexType name="response">
    				<xs:sequence>
    					<xs:element minOccurs="0" name="..." type="xs:string" />
    					<xs:element minOccurs="0" name="..." type="xs:string" />
    					<xs:element minOccurs="0" name="..." type="xs:string" />
    					<xs:element minOccurs="0" name="..." type="xs:string" />
    				</xs:sequence>
    </xs:complexType>
    Last edited by bananan; Jan 5th, 2011 at 04:58 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •