Creating an Apache SOAP document problem.

J

Jon

Hi All,
I have a document that I need to send to a .NET server via SOAP and
I'm not able to figure out how to construct it. I am able to send and
receive the simple 'Echo String' document with only one element. Now
I have multiple elements (not a problem) within various child nodes
and such. This is where I am confused and flustered - on how to add
these child nodes. Is it possible for someone to post an example on
how to create these more complex documents or at least point me
somewhere.

I am using Java 1.3 and Apache SOAP 2.3.1
Thanks & regards
Jon


An example of what I need to send is:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<UpdateDocuments xmlns="http://xxx.com/authoring/catalog">
<Documents>
<Document>
<DocumentType>Iso</DocumentType>
<Link>/pub/docs/iso/12345678.zip</Link>
<Products>
<string>12345678</string>
</Products>
</Document>
<Document>
</Documents>
</UpdateDocuments>
</soap:Body>
</soap:Envelope>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,734
Messages
2,569,441
Members
44,832
Latest member
GlennSmall

Latest Threads

Top