With document/literal web services you need to define your schema in
such a way that the "wrapper" element or root element will lead you to
the business function. So you are not just defining the data that needs
to be sent but also a wrapper element that suggests the operation to be
performed.  Read the axis users guide about "service styles"
specifically the "message", "document" and "wrapped" service styles.


-----Original Message-----
From: Michael Woinoski [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 4:47 PM
To: Axis User mailing list
Subject: How to define document/literal service with multiple operations

How can I define a document/literal service with multiple operations?
Because 
there's no wrapper element around the input message parts, Axis seems to
have a 
problem invoking the correct service method.

If I add a value for SOAPAction in the service's binding, the client
stubs set 
SOAPAction in the HTTP request correctly, but Axis doesn't use the
SOAPAction 
value. I found the Axis HTTPActionHandler class and tried adding it to
the 
request flow in the service's deploy.wsdd but it didn't seem to make a 
difference. Does Axis support this? If so, how do I configure it?

Thanks,
Mike

-- 

Mike Woinoski                      Pine Needle Consulting
mailto:[EMAIL PROTECTED]



Reply via email to