-
Sep 17th, 2007, 01:20 PM
#1
using AbstractMarshallingPayloadEndpoint when operation has no request message
I want to use the AbstractMarshallingPayloadEndpoint for an API which has no inputs. Therefore, there is no xsd type for the incoming request object. To go along with the airline example, for an operation like "GetAllKnownFlights", in which no input data is required, the wsdl might look like
<wsdl:message name="GetAllKnownFlightsInput" />
Is there a way to use the AbstractMarshallingPayloadEndpoint in such a way? Is there a way to have null passed down to the endpoint in such a case? Do I need to create some empty xsd type for the incoming message?
Thanks Much!
-
Sep 17th, 2007, 02:19 PM
#2
Yes, the AbstractMarshallingPayloadEndpoint supports SOAP messages with no Body contents. null will be passed to the invokeInternal method.
-
Sep 17th, 2007, 03:03 PM
#3
getting java.lang.IllegalArgumentException "source parameter must not be null"
Hi,
Thanks for your response. I'm seeing an java.lang.IllegalArgumentException thrown by the underlying jaxb unmarshalling implementation when the SOAP message contains no body. What am I missing here? Thanks again for your reply.
-
Sep 18th, 2007, 04:34 AM
#4
I'm sorry: the issue (http://opensource.atlassian.com/proj...browse/SWS-164) has been solved after Spring-WS 1.0 has been released. It is part of the current snapshots, and will be in 1.0.1, to be released next week.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules