Return-Path: Delivered-To: apmail-axis-java-user-archive@www.apache.org Received: (qmail 83282 invoked from network); 23 Sep 2010 04:55:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Sep 2010 04:55:25 -0000 Received: (qmail 96546 invoked by uid 500); 23 Sep 2010 04:55:24 -0000 Delivered-To: apmail-axis-java-user-archive@axis.apache.org Received: (qmail 95988 invoked by uid 500); 23 Sep 2010 04:55:21 -0000 Mailing-List: contact java-user-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@axis.apache.org Delivered-To: mailing list java-user@axis.apache.org Received: (qmail 95967 invoked by uid 99); 23 Sep 2010 04:55:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Sep 2010 04:55:19 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [125.17.121.198] (HELO bgxius-ex01.XIUS-bcgi.ltd) (125.17.121.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Sep 2010 04:55:13 +0000 Received: from bgxius-ex01.XIUS-bcgi.ltd ([10.193.50.60]) by bgxius-ex01.XIUS-bcgi.ltd ([10.193.50.60]) with mapi; Thu, 23 Sep 2010 10:24:43 +0530 From: Karthik Nanjangude To: "java-user@axis.apache.org" Date: Thu, 23 Sep 2010 10:24:42 +0530 Subject: RE: need to built a NON-RPC Client From the generated java Thread-Topic: need to built a NON-RPC Client From the generated java Thread-Index: ActaTWe1pdrek/gFQ1SP0W1TCoq8dQAjdGxg Message-ID: <22571048298BC44DAF91BE12457E873D8EC45255@bgxius-ex01.XIUS-bcgi.ltd> References: <22571048298BC44DAF91BE12457E873D8EC44FEA@bgxius-ex01.XIUS-bcgi.ltd> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_22571048298BC44DAF91BE12457E873D8EC45255bgxiusex01XIUSb_" MIME-Version: 1.0 --_000_22571048298BC44DAF91BE12457E873D8EC45255bgxiusex01XIUSb_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi >> replace all instances of attribute-"value" with attribute=3D"value" AXIS2 1.5 on JBOSS with "StockQuoteService" has created this WSDL Do u mean the WSDL Generated by AXIS Engine is Wrong ??? With regards karthik ________________________________ From: Martin Gainty [mailto:mgainty@hotmail.com] Sent: Wednesday, September 22, 2010 5:27 PM To: java-user@axis.apache.org; axis-user@ws.apache.org Subject: RE: need to built a NON-RPC Client From the generated java replace all instances of attribute-"value" with attribute=3D"value" afterwards the parser will be able to parse style=3D"document" Martin Gainty ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de d=E9ni et de confidentialit= =E9 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaeng= er sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterle= itung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient led= iglich dem Austausch von Informationen und entfaltet keine rechtliche Bindu= ngswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir= keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut =EAtre privil=E9gi=E9. Si vous n'=EAtes= pas le destinataire pr=E9vu, nous te demandons avec bont=E9 que pour satis= faire informez l'exp=E9diteur. N'importe quelle diffusion non autoris=E9e o= u la copie de ceci est interdite. Ce message sert =E0 l'information seuleme= nt et n'aura pas n'importe quel effet l=E9galement obligatoire. =C9tant don= n=E9 que les email peuvent facilement =EAtre sujets =E0 la manipulation, no= us ne pouvons accepter aucune responsabilit=E9 pour le contenu fourni. ________________________________ From: karthik.nanjangude@xius-bcgi.com To: axis-user@ws.apache.org Date: Wed, 22 Sep 2010 11:11:21 +0530 Subject: need to built a NON-RPC Client From the generated java Hi Spec : O/s Linux / Windows 2000 JDK : 1.5 AXIS2 :1.5 APPSERVER : JBOSS 4.2.1 I have the WSLD generated for "StockQuoteService" as below I also generated the Client side stub java code using WSDL2Java Question 1) I need to built a NON-RPC Client From the generated java code How? 2) Is it possible by Observing the WSDL provided by 3rd party to zero-in th= e client object and methods to access the data ? 3) Where should I start [ Axis2 /1 Site never goes beyond WSDL2Java on how = to initiate /recognise client for NON-RPC Client ] WSDL for 'StockQuoteService' StockQuoteService with regards N.S.Karthik --_000_22571048298BC44DAF91BE12457E873D8EC45255bgxiusex01XIUSb_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi

 

>> replace = all instances of attribute-"value" with
attribute=3D"value"

 

AXIS2 1.5=A0 on JBOSS with=A0 “StockQuo= teService”=A0=A0 has=A0 created this WSDL

 

Do u mean the WSDL Generated by AXIS Engine is Wrong ?= ??

 

 

 

With regards

karthik<= /font>

 


From: Martin G= ainty [mailto:mgainty@hotmail.com]
Sent: Wednesday, September 2= 2, 2010 5:27 PM
To: java-user@axis.apache.org; axis-user@ws.apache.org
Subject: RE: need to built a NON-RPC Client From the generated java

 

replace all instances of attribute-"value" with
attribute=3D"value"

afterwards the parser will be able to parse style=3D"document"
Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de d=E9ni et de confidentialit= =E9

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaeng= er sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitu= ng oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich= dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftu= ng fuer den Inhalt uebernehmen.

C=
e message est confidentiel et peut =EAtre privil=E9gi=E9. Si vous n'=EAtes =
pas le destinataire pr=E9vu, nous te demandons avec bont=E9 que pour satisf=
aire informez l'exp=E9diteur. N'importe quelle diffusion non autoris=E9e ou=
 la copie de ceci est interdite. Ce message sert =E0 l'information seulemen=
t et n'aura pas n'importe quel effet l=E9galement obligatoire. =C9tant donn=
=E9 que les email peuvent facilement =EAtre sujets =E0 la manipulation, nou=
s ne pouvons accepter aucune responsabilit=E9 pour le contenu fourni.<=
/o:p>





 


From: karthik.nanjangude@xius= -bcgi.com
To: axis-user@ws.apache.org Date: Wed, 22 Sep 2010 11:11:21 +0530
Subject: need to built a NON-RPC Client From the generated java =

Hi

 

Spec : 

O/s  Linux / Windows 2000

JDK : 1.5

AXIS2 :1.5<= span style=3D'font-size:10.0pt;font-family:Tahoma'>

APPSERVER : JBOSS 4.2.1

 

 

I have the WSLD generated for “StockQuoteService”&n=
bsp;  as below

I also generated the Client side stub java code using WSDL2Java

 

Question

1) I need to built a NON-RPC Client From the generated java cod=
e How?
2) Is it possible by Observing the WSDL provided by 3rd party t=
o zero-in the client object and methods to access the data ?<=
o:p>
3) Where should I start [ Axis2 /1 Site never goes beyond WSDL2Java on how=
 to initiate /recognise client for NON-RPC Client ]
 
WSDL for ‘StockQuoteService’
 <= /o:p>
<?xml vers=
ion=3D"1.0" encoding=3D"UTF-8"?><=
/o:p>
<wsdl:defi=
nitions xmlns:wsdl=3D"http://schemas.xmlsoap.org/wsdl/" xmlns:axi=
s2=3D"http://quickstart.samples/" xmlns:ns1=3D"http://org.ap=
ache.axis2/xsd" xmlns:ns=3D"http://quickstart.samples/xsd" x=
mlns:wsaw=3D"http://www.w3.org/2006/05/addressing/wsdl" xmlns:htt=
p=3D"http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs=3D"http=
://www.w3.org/2001/XMLSchema" xmlns:mime=3D"http://schemas.xmlsoa=
p.org/wsdl/mime/" xmlns:soap=3D"http://schemas.xmlsoap.org/wsdl/s=
oap/" xmlns:soap12=3D"http://schemas.xmlsoap.org/wsdl/soap12/&quo=
t; targetNamespace=3D"http://quickstart.samples/">
  &=
nbsp; <wsdl:documentation>StockQuoteService</wsdl:documentation>=
;
  &=
nbsp; <wsdl:types>
  &=
nbsp;     <xs:schema attributeFormDefault=3D"qu=
alified" elementFormDefault=3D"qualified" targetNamespace=3D=
"http://quickstart.samples/xsd">
  &=
nbsp;         <xs:element name=
=3D"update">
  &=
nbsp;           &nbs=
p; <xs:complexType>
  &=
nbsp;           &nbs=
p;     <xs:sequence>
  &=
nbsp;           &nbs=
p;         <xs:element minOccurs=
=3D"0" name=3D"symbol" nillable=3D"true" type=
=3D"xs:string"/>
  &=
nbsp;           &nbs=
p;         <xs:element minOccurs=
=3D"0" name=3D"price" type=3D"xs:double"/>=
  &=
nbsp;           &nbs=
p;     </xs:sequence>
  &=
nbsp;           &nbs=
p; </xs:complexType>
  &=
nbsp;         </xs:element>
  &=
nbsp;         <xs:element name=
=3D"getPrice">
  &=
nbsp;           &nbs=
p; <xs:complexType>
  &=
nbsp;            &nb=
sp;    <xs:sequence>
  &=
nbsp;           &nbs=
p;         <xs:element minOccurs=
=3D"0" name=3D"symbol" nillable=3D"true" type=
=3D"xs:string"/>
  &=
nbsp;           &nbs=
p;     </xs:sequence>
  &=
nbsp;           &nbs=
p; </xs:complexType>
  &=
nbsp;         </xs:element>
  &=
nbsp;         <xs:element name=
=3D"getPriceResponse">
  &=
nbsp;           &nbs=
p; <xs:complexType>
  &=
nbsp;           &nbs=
p;     <xs:sequence>
  &=
nbsp;           &nbs=
p;         <xs:element minOccurs=
=3D"0" name=3D"return" type=3D"xs:double"/>=
;
  &=
nbsp;           &nbs=
p;     </xs:sequence>
  &=
nbsp;           &nbs=
p; </xs:complexType>
  &=
nbsp;         </xs:element>
  &=
nbsp;     </xs:schema>
  &=
nbsp; </wsdl:types>
  &=
nbsp; <wsdl:message name=3D"getPriceRequest">=
  &=
nbsp;     <wsdl:part name=3D"parameters" e=
lement=3D"ns:getPrice"/>
  &=
nbsp; </wsdl:message>
  &=
nbsp; <wsdl:message name=3D"getPriceResponse">
  &=
nbsp;     <wsdl:part name=3D"parameters" e=
lement=3D"ns:getPriceResponse"/>
  &=
nbsp; </wsdl:message>
  &=
nbsp; <wsdl:message name=3D"updateRequest">
  &=
nbsp;     <wsdl:part name=3D"parameters" e=
lement=3D"ns:update"/>
  &=
nbsp; </wsdl:message>
  &=
nbsp; <wsdl:portType name=3D"StockQuoteServicePortType">
  &=
nbsp;     <wsdl:operation name=3D"getPrice"=
;>
  &=
nbsp;         <wsdl:input messag=
e=3D"axis2:getPriceRequest" wsaw:Action=3D"urn:getPrice"=
;/>
  &=
nbsp;         <wsdl:output messa=
ge=3D"axis2:getPriceResponse" wsaw:Action=3D"urn:getPriceRes=
ponse"/>
  &=
nbsp;     </wsdl:operation>
  &=
nbsp;     <wsdl:operation name=3D"update"&=
gt;
  &=
nbsp;         <wsdl:input messag=
e=3D"axis2:updateRequest" wsaw:Action=3D"urn:update"/&g=
t;
  &=
nbsp;     </wsdl:operation>
  &=
nbsp; </wsdl:portType>
  &=
nbsp; <wsdl:binding name=3D"StockQuoteServiceSoap11Binding" ty=
pe=3D"axis2:StockQuoteServicePortType">
  &=
nbsp;     <soap:binding transport=3D"http://sch=
emas.xmlsoap.org/soap/http" style=3D"document"/>
  &=
nbsp;     <wsdl:operation name=3D"getPrice"=
;>
  &=
nbsp;         <soap:operation so=
apAction=3D"urn:getPrice" style=3D"document"/>
  &=
nbsp;         <wsdl:input>
  &=
nbsp;           &nbs=
p; <soap:body use=3D"literal"/>
  &=
nbsp;         </wsdl:input>
   =
         <wsdl:output>
  &=
nbsp;           &nbs=
p; <soap:body use=3D"literal"/>
  &=
nbsp;         </wsdl:output><=
/span>
  &=
nbsp;     </wsdl:operation>
  &=
nbsp;     <wsdl:operation name=3D"update"&=
gt;
  &=
nbsp;         <soap:operation so=
apAction=3D"urn:update" style=3D"document"/><=
/font>
  &=
nbsp;         <wsdl:input>
  &=
nbsp;           &nbs=
p; <soap:body use=3D"literal"/>
  &=
nbsp;         </wsdl:input>
  &=
nbsp;     </wsdl:operation>
  &=
nbsp; </wsdl:binding>
  &=
nbsp; <wsdl:binding name=3D"StockQuoteServiceSoap12Binding" ty=
pe=3D"axis2:StockQuoteServicePortType">
  &=
nbsp;     <soap12:binding transport=3D"http://s=
chemas.xmlsoap.org/soap/http" style=3D"document"/>=
  &=
nbsp;     <wsdl:operation name=3D"getPrice"=
;>
  &=
nbsp;         <soap12:operation =
soapAction=3D"urn:getPrice" style=3D"document"/>
  &=
nbsp;         <wsdl:input>
  &=
nbsp;           &nbs=
p; <soap12:body use=3D"literal"/><=
/pre>
  &=
nbsp;         </wsdl:input>
  &=
nbsp;         <wsdl:output>
  &=
nbsp;           &nbs=
p; <soap12:body use=3D"literal"/><=
/pre>
  &=
nbsp;         </wsdl:output><=
/span>
  &=
nbsp;     </wsdl:operation>
  &=
nbsp;     <wsdl:operation name=3D"update"&=
gt;
  &=
nbsp;         <soap12:operation =
soapAction=3D"urn:update" style=3D"document"/>
  &=
nbsp;         <wsdl:input>
  &=
nbsp;           &nbs=
p; <soap12:body use=3D"literal"/><=
/pre>
  &=
nbsp;         </wsdl:input>
  &=
nbsp;     </wsdl:operation>
  &=
nbsp; </wsdl:binding>
  &=
nbsp; <wsdl:binding name=3D"StockQuoteServiceHttpBinding" type=
=3D"axis2:StockQuoteServicePortType">=
  &=
nbsp;     <http:binding verb=3D"POST"/>=
  &=
nbsp;     <wsdl:operation name=3D"getPrice"=
;>
  &=
nbsp;         <http:operation lo=
cation=3D"StockQuoteService/getPrice"/>
  &=
nbsp;         <wsdl:input>
  &=
nbsp;           &nbs=
p; <mime:content type=3D"text/xml" part=3D"getPrice"=
/>
  &=
nbsp;         </wsdl:input>
  &=
nbsp;         <wsdl:output>
  &=
nbsp;           &nbs=
p; <mime:content type=3D"text/xml" part=3D"getPrice"=
/>
  &=
nbsp;         </wsdl:output><=
/span>
  &=
nbsp;     </wsdl:operation>
  &=
nbsp;     <wsdl:operation name=3D"update"&=
gt;
  &=
nbsp;         <http:operation lo=
cation=3D"StockQuoteService/update"/>=
  &=
nbsp;         <wsdl:input>
  &=
nbsp;           &nbs=
p; <mime:content type=3D"text/xml" part=3D"update"/&=
gt;
  &=
nbsp;         </wsdl:input>
  &=
nbsp;     </wsdl:operation>
  &=
nbsp; </wsdl:binding>
  &=
nbsp; <wsdl:service name=3D"StockQuoteService">
  &=
nbsp;     <wsdl:port name=3D"StockQuoteServiceH=
ttpSoap11Endpoint" binding=3D"axis2:StockQuoteServiceSoap11Bindin=
g">
  &=
nbsp;         <soap:address loca=
tion=3D"http://10.10.21.170:8081/AXIS215/services/StockQuoteService.St=
ockQuoteServiceHttpSoap11Endpoint/"/>
  &=
nbsp;     </wsdl:port>
  &=
nbsp;     <wsdl:port name=3D"StockQuoteServiceT=
cpSoap11Endpoint" binding=3D"axis2:StockQuoteServiceSoap11Binding=
">
  &=
nbsp;         <soap:address loca=
tion=3D"tcp://10.10.21.170:6061/axis2/services/StockQuoteService.Stock=
QuoteServiceTcpSoap11Endpoint"/>
  &= nbsp;     </wsdl:port>
  &=
nbsp;     <wsdl:port name=3D"StockQuoteServiceT=
cpSoap12Endpoint" binding=3D"axis2:StockQuoteServiceSoap12Binding=
">
  &=
nbsp;         <soap12:address lo=
cation=3D"tcp://10.10.21.170:6061/axis2/services/StockQuoteService.Sto=
ckQuoteServiceTcpSoap12Endpoint"/>
  &= nbsp;     </wsdl:port>
  &=
nbsp;     <wsdl:port name=3D"StockQuoteServiceH=
ttpSoap12Endpoint" binding=3D"axis2:StockQuoteServiceSoap12Bindin=
g">
  &=
nbsp;         <soap12:address lo=
cation=3D"http://10.10.21.170:8081/AXIS215/services/StockQuoteService.=
StockQuoteServiceHttpSoap12Endpoint/"/>
  &=
nbsp;     </wsdl:port>
  &=
nbsp;     <wsdl:port name=3D"StockQuoteServiceH=
ttpEndpoint" binding=3D"axis2:StockQuoteServiceHttpBinding"&=
gt;
  &=
nbsp;         <http:address loca=
tion=3D"http://10.10.21.170:8081/AXIS215/services/StockQuoteService.St=
ockQuoteServiceHttpEndpoint/"/>
=
  &=
nbsp;     </wsdl:port>
  &=
nbsp; </wsdl:service>
</wsdl:def=
initions>

 

 

with regards= =

N.S.Karthik<= /font>=

 

--_000_22571048298BC44DAF91BE12457E873D8EC45255bgxiusex01XIUSb_--