still does not work your server. Once you run your server and I hope it is visible on the internet I will have a look at your wsdl.
Can u also post your wsdl file in the thread Thanx in advance, Bhanu -----Original Message----- From: remko de knikker [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 2:06 PM To: [EMAIL PROTECTED] Subject: Re: Message Style and WSDL Bhanu, the only other thing that I know of, is that I need to restart my server, to make it work...? sorry, r Bhanu Pabreja wrote: >This what my deployment descriptor looks like : > ><deployment name="test" xmlns="http://xml.apache.org/axis/wsdd/" > xmlns:java="http://xml.apache.org/axis/wsdd/providers/java" > xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"> > <!-- note that either style="message" OR provider="java:MSG" both work --> > <service name="FirmTaxonomyModelService" style="message"> > <parameter name="className" >value="com.dumdum.taxonomy.ws.FirmTaxonomyModelMessageStyleService" /> > <parameter name="allowedMethods" value="*" /> > </service> ></deployment> > > >and my wsdl file looks like this: > ><?xml version="1.0" encoding="UTF-8"?> ><wsdl:definitions >targetNamespace="http://localhost:8080/FTAToolWeb/services/FirmTaxonomyMode l >Service" xmlns="http://schemas.xmlsoap.org/wsdl/" >xmlns:apachesoap="http://xml.apache.org/xml-soap" >xmlns:impl="http://localhost:8080/FTAToolWeb/services/FirmTaxonomyModelServ i >ce" >xmlns:intf="http://localhost:8080/FTAToolWeb/services/FirmTaxonomyModelServ i >ce" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" >xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" >xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" >xmlns:xsd="http://www.w3.org/2001/XMLSchema"><wsdl:types/> > <wsdl:message name="fetchDocumentResponse"> > <wsdl:part name="fetchDocumentReturn" type="xsd:anyType"/> > </wsdl:message> > <wsdl:message name="fetchDocumentRequest"> > </wsdl:message> > <wsdl:portType name="FirmTaxonomyModelMessageStyleService"> > <wsdl:operation name="fetchDocument"> > <wsdl:input message="intf:fetchDocumentRequest" >name="fetchDocumentRequest"/> > <wsdl:output message="intf:fetchDocumentResponse" >name="fetchDocumentResponse"/> > </wsdl:operation> > </wsdl:portType> > <wsdl:binding name="FirmTaxonomyModelServiceSoapBinding" >type="intf:FirmTaxonomyModelMessageStyleService"> > <wsdlsoap:binding style="rpc" >transport="http://schemas.xmlsoap.org/soap/http"/> > <wsdl:operation name="fetchDocument"> > <wsdlsoap:operation soapAction=""/> > <wsdl:input name="fetchDocumentRequest"> > <wsdlsoap:body >encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" >namespace="http://localhost:8080/FTAToolWeb/services/FirmTaxonomyModelServi c >e" use="encoded"/> > </wsdl:input> > <wsdl:output name="fetchDocumentResponse"> > <wsdlsoap:body >encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" >namespace="http://localhost:8080/FTAToolWeb/services/FirmTaxonomyModelServi c >e" use="encoded"/> > </wsdl:output> > </wsdl:operation> > </wsdl:binding> > <wsdl:service name="FirmTaxonomyModelMessageStyleServiceService"> > <wsdl:port binding="intf:FirmTaxonomyModelServiceSoapBinding" >name="FirmTaxonomyModelService"> > <wsdlsoap:address >location="http://localhost:8080/FTAToolWeb/services/FirmTaxonomyModelServic e >"/> > </wsdl:port> > </wsdl:service> ></wsdl:definitions> > >Now this thing clearly says that this is RPC style service and everything >looks to be encoded. > >BTW I dont think so your server is up since I could not access your >webservice's wsdl file. > >Have a look and tell me where I am wrong. > >Bhanu. > > > >-----Original Message----- >From: remko de knikker [mailto:[EMAIL PROTECTED] >Sent: Tuesday, June 24, 2003 9:01 AM >To: [EMAIL PROTECTED] >Subject: Re: Message Style and WSDL > > > >Bhanu, > >here's my example for a message-style ws, which works for me. > ><deployment name="GetXSLIM" xmlns="http://xml.apache.org/axis/wsdd/" > xmlns:java="http://xml.apache.org/axis/wsdd/providers/java" > xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"> > <handler name="handlerXSLIM" type="java:ws.xslim.BasicHandler_XSLIM"/> > <service name="GetXSLIM" style="message"> > <requestFlow> > <handler type="handlerXSLIM"/> > </requestFlow> > <responseFlow> > <handler type="handlerXSLIM"/> > </responseFlow> > <parameter name="className" value="ws.xslim.GetXSLIM" /> > <parameter name="allowedMethods" value="method1" /> > <parameter name="wsdlInputSchema" >value="http://biryani.med.yale.edu:8081/axis/files/xslim/GetXSLIM_method1Re q >uest.xsd"/> > </service> ></deployment> > >Look at the result at >http://biryani.med.yale.edu:8081/axis/services/GetXSLIM?wsdl > >remko > > >Date: Mon, 23 Jun 2003 18:39:30 -0400 >From: Bhanu Pabreja <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Reply-to: [EMAIL PROTECTED] >Subject: Message Style and WSDL >One step beyond .jws files > I have made a message style service with one method > > public Document fetchData(Document doc){ > // logic > }yl > > Then I deployed the service using the deploy.wsdd. I could not use the >Java2WSDL utitily to generate "Message" style service so I hand edited one >of the provided examples. > > But once I deploy it to the /servlet/AxisServlet and try to browse the >generated .wsdl file it is totally a different version of what I have made >.. I mean the wsdl says that it is a RPC style service and the operation is >encoded. > > Now the questions I can figure out is : > > (a) How to make a message style service and create a wsdl file which says >that it is a Message style service. > > > thanx in advance > > > dumdum420 > > > > > > > > > > > > >
