on 02-19-2009 10:15 AM
I try to import a WSDL with HTTPS to 'interface object' --> 'External Definitions' ,
however , there is no message name at message tab .
Please help for this RFC call https SOAP .
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="https://bouatap3:8175/a4Secure/services/authenticationService" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="https://bouatap3:8175/a4Secure/services/authenticationService" xmlns:intf="https://bouatap3:8175/a4Secure/services/authenticationService" xmlns:tns1="http://ws.api.a4.tsmc.com" xmlns:tns2="http://xmlbeans.apache.org" xmlns:tns3="http://lang.java" 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://ws.api.a4.tsmc.com" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xml.apache.org/xml-soap"/>
<import namespace="http://lang.java"/>
<import namespace="http://bouatap3:8175/a4Secure/services/authenticationService"/>
<import namespace="http://xmlbeans.apache.org"/>
<element name="doService">
<complexType>
<sequence>
<element name="xmlMessage" type="xsd:string"/>
</sequence>
</complexType>
</element>
<element name="doServiceResponse">
<complexType>
<sequence>
<element name="doServiceReturn" type="xsd:string"/>
</sequence>
</complexType>
</element>
</schema>
<schema elementFormDefault="qualified" targetNamespace="https://bouatap3:8175/a4Secure/services/authenticationService" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xml.apache.org/xml-soap"/>
<import namespace="http://lang.java"/>
<import namespace="http://xmlbeans.apache.org"/>
<complexType name="ArrayOf_xsd_anyType">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="item" type="xsd:anyType"/>
</sequence>
</complexType>
<element name="fault" type="tns2:XmlException"/>
</schema>
<schema elementFormDefault="qualified" targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://lang.java"/>
<import namespace="http://bouatap3:8175/a4Secure/services/authenticationService"/>
<import namespace="http://xmlbeans.apache.org"/>
<complexType name="Vector">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="item" type="xsd:anyType"/>
</sequence>
</complexType>
</schema>
<schema elementFormDefault="qualified" targetNamespace="http://xmlbeans.apache.org" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xml.apache.org/xml-soap"/>
<import namespace="http://lang.java"/>
<import namespace="http://bouatap3:8175/a4Secure/services/authenticationService"/>
<complexType name="XmlException">
<sequence>
<element name="cause" nillable="true" type="xsd:anyType"/>
<element name="error" nillable="true" type="xsd:anyType"/>
<element name="errors" nillable="true" type="impl:ArrayOf_xsd_anyType"/>
<element name="localizedMessage" nillable="true" type="xsd:string"/>
<element name="message" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
<wsdl:message name="doServiceRequest">
<wsdl:part element="tns1:doService" name="parameters"/>
</wsdl:message>
<wsdl:message name="doServiceResponse">
<wsdl:part element="tns1:doServiceResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="XmlException">
<wsdl:part element="impl:fault" name="fault"/>
</wsdl:message>
<wsdl:portType name="AuthenticationService">
<wsdl:operation name="doService">
<wsdl:input message="impl:doServiceRequest" name="doServiceRequest"/>
<wsdl:output message="impl:doServiceResponse" name="doServiceResponse"/>
<wsdl:fault message="impl:XmlException" name="XmlException"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="authenticationServiceSoapBinding" type="impl:AuthenticationService">
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="doService">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="doServiceRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="doServiceResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="XmlException">
<wsdlsoap:fault name="XmlException" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="AuthenticationServiceService">
<wsdl:port binding="impl:authenticationServiceSoapBinding" name="authenticationService">
<wsdlsoap:address location="https://bouatap3:8175/a4Secure/services/authenticationService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Thanks a lot
It works .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot .
I will try it and update the status to you later .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jason Chen,
As Prateek said, reduce the namespace and then Import the WSDL again, It will definetely work
for Eg: Change Namespace as "[https://bouatap3:8175/a4Secure/services|https://bouatap3:8175/a4Secure/services]" instead "[https://bouatap3:8175/a4Secure/services/authenticationService|https://bouatap3:8175/a4Secure/services/authenticationService]"
When you change it, then you will be able to find the respective Message Names
XmlException
doServiceResponse
doServiceRequest in the Messages Tab
Regards,
Varun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I check it , but there is no error at WSDL tab
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you try to reduce the namespace length of
https://bouatap3:8175/a4Secure/services/authenticationService
The namespace limit is of 60 characters only.
Regards,
Prateek
Just next to the Message tab, there would be a WSDL tab. Check there for errors.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.