Hi

I want to create a web service that has the following method signature
 
        public Document someMethod(Document doc)
        {
        }
 
I have created the same and deployed using Axis on Tomcat.
 
When i write a client and try to call this web service it fails.
I am not able to get this to work. =20
 
Can anyone help me out. Would be glad if i can get links to sample
code.
 
The WSDL For the service deployed is
 
The request message is blank. This is the WSDL returned by AXIS using =
the
?wsdl option.
 
- <wsdl:message name=3D"updateProjectResponse">
  <wsdl:part name=3D"updateProjectReturn" type=3D"xsd:anyType" />
  </wsdl:message>
  <wsdl:message name=3D"updateProjectRequest" />
- <wsdl:portType name=3D"IPlanMessageUpdate">
- <wsdl:operation name=3D"updateProject">
  <wsdl:input message=3D"intf:updateProjectRequest" =
name=3D"updateProjectRequest"
/>
  <wsdl:output message=3D"intf:updateProjectResponse"
name=3D"updateProjectResponse" />
  </wsdl:operation>
  </wsdl:portType>
- <wsdl:binding name=3D"IPlanMessageServiceSoapBinding"
type=3D"intf:IPlanMessageUpdate">
  <wsdlsoap:binding transport=3D"
http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name=3D"updateProject">
  <wsdlsoap:operation soapAction=3D"" />
- <wsdl:input name=3D"updateProjectRequest">
  <wsdlsoap:body encodingStyle=3D" =
http://schemas.xmlsoap.org/soap/encoding/"
namespace=3D"
http://localhost:8080/IPlanMessageUpdate/services/IPlanMessageService"
use=3D"encoded" />
  </wsdl:input>
- <wsdl:output name=3D"updateProjectResponse">
  <wsdlsoap:body encodingStyle=3D" =
http://schemas.xmlsoap.org/soap/encoding/"
namespace=3D"
http://localhost:8080/IPlanMessageUpdate/services/IPlanMessageService"
use=3D"encoded" />
  </wsdl:output>
  </wsdl:operation>
  </wsdl:binding>
 
Regards
Krishnakumar B

DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.

Reply via email to