In the service I did an envelope.toString of the envelope that comes in 
and this is the whole envelope that I am getting

[Attributes={ 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"}] 
[Header=null] [Body=[Attributes={}] [BodyEntries=
[(0)=[purchaseOrder: null]]
]] [EnvelopeEntries=]

I also thought this might help, this is the XML document I use to create 
the envelope

<SOAP-ENV:Envelope 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>
<SOAP-ENV:Body>
<purchaseOrder xmlns="urn:po-processor" orderDate="1999-10-20">
   <shipTo country="US">
   <name>Alice Smith</name>
   <street>123 Maple Street</street>
   <city>Mill Valley</city>
   <state>CA</state>
   <zip>90952</zip>
   </shipTo>
   <billTo country="US">
   <name>Robert Smith</name>
   <street>8 Oak Avenue</street>
   <city>Old Town</city>
   <state>PA</state>
   <zip>95819</zip>
   </billTo>
   <comment>Hurry, my lawn is going wild!</comment>
   <items>
   <item partNum="872-AA">
           <productName>Lawnmower</productName>
           <quantity>1</quantity>
           <price>148.95</price>
           <comment>Confirm this is electric</comment>
   </item>
   <item partNum="926-AA">
           <productName>Baby Monitor</productName>
           <quantity>1</quantity>
           <price>39.98</price>
           <shipDate>1999-05-21</shipDate>
   </item>
   </items>
</purchaseOrder>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


One other thought, first all of you guys who have worked on apache SOAP 
have done a great job, but the documentation is lacking in my opinion.  
It seems to be written for poeple who completely understand XML and 
marshalling and unmarshalling.  None of the methods in the api docs have 
any sort of documentation.  Just a thought wanted to see if anyones else 
shared it.

Tom Myers wrote:

> At 11:22 AM 8/7/2001 -0500, Rich Catlett wrote:
> ...
> 
>> I've used the TcpTunnelGui and it show that the XML document is indeed getting sent 
>to the service, but then from the service all I get back is this
>> 
>> [Attributes={}] [BodyEntries=
>> [(0)=[purchaseOrder: null]]
>> ]
>> 
>> Can someone tell me what I'm doing wrong or point me in the direction to figure it 
>out.
> 
> 
>   Have you tried getting the service to dump it to a local file, or just to 
>System.out
> (on Tomcat that would generally put it on the console window...) just some variation
> on 
> 
>>   new org.apache.xml.serialize
>>    .XMLSerializer(System.out,
>>                   new org.apache.xml.serialize.OutputFormat("xml","utf-8",true))
>>       .asDOMSerializer().serialize(doc);
> 
> 
> (assuming that you're using apache, of course)? In other words, the document is
> being lost, so you've just got to track it as far as it goes... :-) 
> 
> Tom Myers
> 

Reply via email to