damn you'r right. That's why it's called "document" style and not "remote
procedure call" style. What you should do, is 2 wrapping types defined in
wsdl's types section. Those types should wrap all the parameters and the
input type should be named as the related operation name. That's what's
called "Wrapped" message.
Refer to axis-wiki 'What does "wrapped" mean? How is it different from
"document"?' link:
http://wiki.apache.org/ws/FrontPage/Axis/Wrapped
for more information


-----Mensaje original-----
De: Nicolas Vahlas [mailto:[EMAIL PROTECTED]
Enviado el: viernes, 02 de diciembre de 2005 11:26
Para: [email protected]
Asunto: SOAP Request without method name


I have the following problem:

I am developing Web Services using Axis 1.3
I wrote my own WSDL (document/literal) and used the WSDL2Java tool to 
generate all (Client and Server) code.
I implemented the *BindingImpl Java class and deployed the Web Service 
on Tomcat
I use the generated *Service and *ServiceLocator to access my WebService 
from a client
I monitor the SOAP Request and Responses using the tcpmon utility

When running my client, I noticed that some methods were called instead 
of others.
After investigations, I ended to the following conclusion: when I call a 
method of my Service which has parameters the method name is not 
specified in the SOAP request. Only the parameters are transmitted in 
the request. As far as I understand, the result is that, the first 
method which matches the signature is called.

Can anyone help me solve this ?
Thanks

-- 
VAHLAS Nicolas 
Senior Software Engineer

Quality & Reliability
Διευ.: Κονίτσης 11Β,
       151 25 Μαρούσι
Τηλ.:  210 80 29 409 (270)
Mail:  [EMAIL PROTECTED]

Reply via email to