[ 
https://issues.apache.org/jira/browse/AXIS2-3003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516287
 ] 

tommy commented on AXIS2-3003:
------------------------------

Service code:

- <wsdl:definitions xmlns:axis2="http://quickstart.samples/"; 
xmlns:ns1="http://org.apache.axis2/xsd"; 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; 
xmlns:ns0="http://quickstart.samples/xsd"; 
xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; 
targetNamespace="http://quickstart.samples/";>
  <wsdl:documentation>StockQuoteService</wsdl:documentation> 
- <wsdl:types>
- <xs:schema xmlns:ns="http://quickstart.samples/xsd"; 
attributeFormDefault="qualified" elementFormDefault="qualified" 
targetNamespace="http://quickstart.samples/xsd";>
- <xs:element name="getPrice">
- <xs:complexType>
- <xs:sequence>
  <xs:element name="symbol" nillable="true" type="xs:string" /> 
  </xs:sequence>
  </xs:complexType>
  </xs:element>
- <xs:element name="getPriceResponse">
- <xs:complexType>
- <xs:sequence>
  <xs:element name="return" nillable="true" type="xs:double" /> 
  </xs:sequence>
  </xs:complexType>
  </xs:element>
- <xs:element name="update">
- <xs:complexType>
- <xs:sequence>
  <xs:element name="symbol" nillable="true" type="xs:string" /> 
  <xs:element name="price" nillable="true" type="xs:double" /> 
  </xs:sequence>
  </xs:complexType>
  </xs:element>
  </xs:schema>
  </wsdl:types>
- <wsdl:message name="updateMessage">
  <wsdl:part name="part1" element="ns0:update" /> 
  </wsdl:message>
  <wsdl:message name="updateResponse" /> 
- <wsdl:message name="getPriceMessage">
  <wsdl:part name="part1" element="ns0:getPrice" /> 
  </wsdl:message>
- <wsdl:message name="getPriceResponse">
  <wsdl:part name="part1" element="ns0:getPriceResponse" /> 
  </wsdl:message>
- <wsdl:portType name="StockQuoteServicePortType">
- <wsdl:operation name="update">
  <wsdl:input xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"; 
message="axis2:updateMessage" wsaw:Action="urn:update" /> 
  <wsdl:output message="axis2:updateResponse" /> 
  </wsdl:operation>
- <wsdl:operation name="getPrice">
  <wsdl:input xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"; 
message="axis2:getPriceMessage" wsaw:Action="urn:getPrice" /> 
  <wsdl:output message="axis2:getPriceResponse" /> 
  </wsdl:operation>
  </wsdl:portType>
- <wsdl:binding name="StockQuoteServiceSOAP11Binding" 
type="axis2:StockQuoteServicePortType">
  <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; 
style="document" /> 
- <wsdl:operation name="update">
  <soap:operation soapAction="urn:update" style="document" /> 
- <wsdl:input>
  <soap:body use="literal" /> 
  </wsdl:input>
- <wsdl:output>
  <soap:body use="literal" /> 
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="getPrice">
  <soap:operation soapAction="urn:getPrice" 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="StockQuoteServiceSOAP12Binding" 
type="axis2:StockQuoteServicePortType">
  <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"; 
style="document" /> 
- <wsdl:operation name="update">
  <soap12:operation soapAction="urn:update" style="document" /> 
- <wsdl:input>
  <soap12:body use="literal" /> 
  </wsdl:input>
- <wsdl:output>
  <soap12:body use="literal" /> 
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="getPrice">
  <soap12:operation soapAction="urn:getPrice" 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="StockQuoteServiceHttpBinding" 
type="axis2:StockQuoteServicePortType">
  <http:binding verb="POST" /> 
- <wsdl:operation name="update">
  <http:operation location="update" /> 
- <wsdl:input>
  <mime:content type="text/xml" /> 
  </wsdl:input>
- <wsdl:output>
  <mime:content type="text/xml" /> 
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="getPrice">
  <http:operation location="getPrice" /> 
- <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="StockQuoteService">
- <wsdl:port name="StockQuoteServiceSOAP11port_http" 
binding="axis2:StockQuoteServiceSOAP11Binding">
  <soap:address 
location="http://192.168.3.108:6080/axis2/services/StockQuoteService"; /> 
  </wsdl:port>
- <wsdl:port name="StockQuoteServiceSOAP12port_http" 
binding="axis2:StockQuoteServiceSOAP12Binding">
  <soap12:address 
location="http://192.168.3.108:6080/axis2/services/StockQuoteService"; /> 
  </wsdl:port>
- <wsdl:port name="StockQuoteServiceHttpport" 
binding="axis2:StockQuoteServiceHttpBinding">
  <http:address 
location="http://192.168.3.108:6080/axis2/services/StockQuoteService"; /> 
  </wsdl:port>
  </wsdl:service>
  </wsdl:definitions>

The client code is shown as attached above !!!     Anyway, thank you for your 
help!!!

> Unable to engage addressing at client side, want to know the specific 
> location of addressing.mar in the project
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3003
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3003
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Addressing
>    Affects Versions: 1.2
>         Environment: winxp, axis2
>            Reporter: tommy
>            Assignee: Deepal Jayasinghe
>
> I got the same problem with "Unable to engage module : addressing ", I've 
> added the line 'stub._getServiceClient().engageModule(new 
> QName("addressing"));' in my client codes. Could anyone be kind to tell where 
> I should place addressing-1.2.mar in my class-path. I copyed it everywhere it 
> could be, but the program still cannot recognize the .mar file in my project. 
> Ask for help, thanks in advance. 
> [ Show ยป ] tommy - [22/Jul/07 11:28 PM ] I got the same problem with "Unable 
> to engage module : addressing ", I've added the line 
> 'stub._getServiceClient().engageModule(new QName("addressing"));' in my 
> client codes. Could anyone be kind to tell where I should place 
> addressing-1.2.mar in my class-path. I copyed it everywhere it could be, but 
> the program still cannot recognize the .mar file in my project. Ask for help, 
> thanks in advance. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to