Hi,
I am new to Web Services and SOAP. I am trying to get Infopath 2007 to work with Axis, submitting the infopath form data to a simple Java webservice method. In the Infopath interface for configuring submit options, I can see the webservice method listed but not the parameters. I guess its something to do with wsdl; might be there is some settings to be done while publishing the webservice. I'm completely new to this; please help me to solve this issue. I'm providing the wsdl along this.
<?xml version="1.0" encoding="UTF-8" ?>
- <wsdl:definitions targetNamespace="http://localhost:8080/axis/services/MyNCCITest" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost:8080/axis/services/MyNCCITest" xmlns:intf="http://localhost:8080/axis/services/MyNCCITest" xmlns:tns1="http://DefaultNamespace" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <!--
WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)
-->
- <wsdl:types>
- <schema elementFormDefault="qualified" targetNamespace="http://DefaultNamespace" xmlns="http://www.w3.org/2001/XMLSchema">
<element name="name" type="xsd:string" />
<element name="age" type="xsd:string" />
<element name="address" type="xsd:string" />
<element name="phone" type="xsd:string" />
</schema>
- <schema elementFormDefault="qualified" targetNamespace="http://localhost:8080/axis/services/MyNCCITest" xmlns="http://www.w3.org/2001/XMLSchema">
<element name="SetUserDetailsReturn" type="xsd:string" />
<element name="GetDetailsReturn" type="xsd:string" />
</schema>
</wsdl:types>
- <wsdl:message name="GetDetailsResponse">
<wsdl:part element="impl:GetDetailsReturn" name="GetDetailsReturn" />
</wsdl:message>
- <wsdl:message name="SetUserDetailsResponse">
<wsdl:part element="impl:SetUserDetailsReturn" name="SetUserDetailsReturn" />
</wsdl:message>
- <wsdl:message name="SetUserDetailsRequest">
<wsdl:part element="tns1:name" name="name" />
<wsdl:part element="tns1:age" name="age" />
<wsdl:part element="tns1:address" name="address" />
<wsdl:part element="tns1:phone" name="phone" />
</wsdl:message>
<wsdl:message name="GetDetailsRequest" />
- <wsdl:portType name="NCCITest">
- <wsdl:operation name="SetUserDetails" parameterOrder="name age address phone">
<wsdl:input message="impl:SetUserDetailsRequest" name="SetUserDetailsRequest" />
<wsdl:output message="impl:SetUserDetailsResponse" name="SetUserDetailsResponse" />
</wsdl:operation>
- <wsdl:operation name="GetDetails">
<wsdl:input message="impl:GetDetailsRequest" name="GetDetailsRequest" />
<wsdl:output message="impl:GetDetailsResponse" name="GetDetailsResponse" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="MyNCCITestSoapBinding" type="impl:NCCITest">
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="SetUserDetails">
<wsdlsoap:operation soapAction="" />
- <wsdl:input name="SetUserDetailsRequest">
<wsdlsoap:body use="literal" />
</wsdl:input>
- <wsdl:output name="SetUserDetailsResponse">
<wsdlsoap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="GetDetails">
<wsdlsoap:operation soapAction="" />
- <wsdl:input name="GetDetailsRequest">
<wsdlsoap:body use="literal" />
</wsdl:input>
- <wsdl:output name="GetDetailsResponse">
<wsdlsoap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="NCCITestService">
- <wsdl:port binding="impl:MyNCCITestSoapBinding" name="MyNCCITest">
<wsdlsoap:address location="http://localhost:8080/axis/services/MyNCCITest" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Thanks in advance
Jency