[jboss-dev-forums] [Design of JBoss ESB] - Re: A problem about soapAction and wsdl in JBossESB
djlxiong
do-not-reply at jboss.com
Mon Jul 7 21:11:59 EDT 2008
Hi,
Here is my WSDL file.
<wsdl:definitions xmlns:axis2="http://test" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ns0="http://test/xsd" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://test"><wsdl:documentation>
| This service is to add two intergers.
| </wsdl:documentation>
| <wsdl:types>
| <xs:schema xmlns:ns="http://test/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://test/xsd">
| <xs:element name="changePassWord">
| <xs:complexType>
| <xs:sequence>
| <xs:element name="id" nillable="true" type="xs:string" />
| <xs:element name="oldP" nillable="true" type="xs:string" />
| <xs:element name="newP" nillable="true" type="xs:string" />
| </xs:sequence>
| </xs:complexType>
| </xs:element>
| <xs:element name="changePassWordResponse">
| <xs:complexType>
| <xs:sequence>
| <xs:element name="return" nillable="true" type="xs:string" />
| </xs:sequence>
| </xs:complexType>
| </xs:element>
| <xs:element name="changePassWord2">
| <xs:complexType>
| <xs:sequence>
| <xs:element name="id" nillable="true" type="xs:string" />
| <xs:element name="oldP" nillable="true" type="xs:string" />
| <xs:element name="newP" nillable="true" type="xs:string" />
| </xs:sequence>
| </xs:complexType>
| </xs:element>
| <xs:element name="changePassWord2Response">
| <xs:complexType>
| <xs:sequence>
| <xs:element name="return" nillable="true" type="xs:string" />
| </xs:sequence>
| </xs:complexType>
| </xs:element>
| </xs:schema>
| </wsdl:types>
|
| <wsdl:message name="changePassWord2Message">
| <wsdl:part name="part1" element="ns0:changePassWord2" />
| </wsdl:message>
| <wsdl:message name="changePassWord2Response">
| <wsdl:part name="part1" element="ns0:changePassWord2Response" />
| </wsdl:message>
| <wsdl:message name="changePassWordMessage">
| <wsdl:part name="part1" element="ns0:changePassWord" />
| </wsdl:message>
| <wsdl:message name="changePassWordResponse">
| <wsdl:part name="part1" element="ns0:changePassWordResponse" />
| </wsdl:message>
| <wsdl:portType name="ESBServicePortType">
| <wsdl:operation name="changePassWord2">
| <wsdl:input xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" message="axis2:changePassWord2Message" wsaw:Action="urn:changePassWord2" />
| <wsdl:output message="axis2:changePassWord2Response" />
| </wsdl:operation>
| <wsdl:operation name="changePassWord">
| <wsdl:input xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" message="axis2:changePassWordMessage" wsaw:Action="urn:changePassWord" />
| <wsdl:output message="axis2:changePassWordResponse" />
| </wsdl:operation>
| </wsdl:portType>
| <wsdl:binding name="ESBServiceSOAP11Binding" type="axis2:ESBServicePortType">
| <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
| <wsdl:operation name="changePassWord2">
| <soap:operation soapAction="urn:changePassWord2" style="document" />
| <wsdl:input>
| <soap:body use="literal" />
| </wsdl:input>
| <wsdl:output>
| <soap:body use="literal" />
| </wsdl:output>
| </wsdl:operation>
| <wsdl:operation name="changePassWord">
| <soap:operation soapAction="urn:changePassWord" style="document" />
| <wsdl:input>
| <soap:body use="literal" />
| </wsdl:input>
| <wsdl:output>
| <soap:body use="literal" />
| </wsdl:output>
| </wsdl:operation>
| </wsdl:binding>
| <wsdl:binding name="ESBServiceSOAP12Binding" type="axis2:ESBServicePortType">
| <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
| <wsdl:operation name="changePassWord2">
| <soap12:operation soapAction="urn:changePassWord2" style="document" />
| <wsdl:input>
| <soap12:body use="literal" />
| </wsdl:input>
| <wsdl:output>
| <soap12:body use="literal" />
| </wsdl:output>
| </wsdl:operation>
| <wsdl:operation name="changePassWord">
| <soap12:operation soapAction="urn:changePassWord" style="document" />
| <wsdl:input>
| <soap12:body use="literal" />
| </wsdl:input>
| <wsdl:output>
| <soap12:body use="literal" />
| </wsdl:output>
| </wsdl:operation>
| </wsdl:binding>
| <wsdl:binding name="ESBServiceHttpBinding" type="axis2:ESBServicePortType">
| <http:binding verb="POST" />
| <wsdl:operation name="changePassWord2">
| <http:operation location="changePassWord2" />
| <wsdl:input>
| <mime:content type="text/xml" />
| </wsdl:input>
| <wsdl:output>
| <mime:content type="text/xml" />
| </wsdl:output>
| </wsdl:operation>
| <wsdl:operation name="changePassWord">
| <http:operation location="changePassWord" />
| <wsdl:input>
| <mime:content type="text/xml" />
| </wsdl:input>
| <wsdl:output>
| <mime:content type="text/xml" />
| </wsdl:output>
| </wsdl:operation>
| </wsdl:binding>
| <wsdl:service name="ESBService">
| <wsdl:port name="ESBServiceSOAP11port_http" binding="axis2:ESBServiceSOAP11Binding">
| <soap:address location="http://10.2.0.176:8181/axis2/services/ESBService" />
| </wsdl:port>
| <wsdl:port name="ESBServiceSOAP12port_http" binding="axis2:ESBServiceSOAP12Binding">
| <soap12:address location="http://10.2.0.176:8181/axis2/services/ESBService" />
| </wsdl:port>
| <wsdl:port name="ESBServiceHttpport" binding="axis2:ESBServiceHttpBinding">
| <http:address location="http://211.87.226.219:80/axis2/services/ESBService" />
| </wsdl:port>
| </wsdl:service>
| </wsdl:definitions>
|
I'm wondering if it is the problem with the version of soapui-client.
In JBossESB the version of soapui-client is v1.7.1, and the Web Service testing tool SoapUI is using the v2.0.2.
But I don't have the problem in the tool SoapUI.
If the soapui-client needs update?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162980#4162980
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162980
More information about the jboss-dev-forums
mailing list