SOAP via Tomcat

G

gLaramie

For a java class with a method signature of:
///////////////////////////////////
public void testMethod(Envelope reqEnv, SOAPContext reqCtx,
SOAPContext respCtx)
throws SOAPException
///////////////////////////////////

What is the proper format of a SOAP Message that calls it?

This causes it to complain that the signature doesn't match:
------------------
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<ns1:testMethod xmlns:ns1="urn:testMethod"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<reqEnv xsi:type="xsd:string"/>
<reqCtx xsi:type="xsd:string"/>
<respCtx xsi:type="xsd:string"/>
</ns1:testMethod>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
 
W

Wendy S

gLaramie said:
For a java class with a method signature of:
///////////////////////////////////
public void testMethod(Envelope reqEnv, SOAPContext reqCtx,
SOAPContext respCtx)
throws SOAPException
///////////////////////////////////
What is the proper format of a SOAP Message that calls it?

How are you using SOAP with just Tomcat? I'm interested but am using Apache
Axis as a webapp running in Tomcat. If you're not using Axis, how does this
work?
 

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,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top