The WSDL now says "document" if the service is document. Keep in mind what you are using is the definition of "not done yet". That's why its still called "Alpha". :-)
-- Tom Jordahl -----Original Message----- From: Stan Jordan [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 2:19 PM To: [EMAIL PROTECTED] Subject: Re: document or message style SOAP Tom... My only concern is interop, ie, when a .NET client looks at the WSDL, if he sees style="rpc" when the service is really doing literal/document, does he get confused and is unable to use the service? I'll try the new CVS download and see what happens. Thanks. Stan ----- Original Message ----- From: "Frydl, Josef" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 01, 2002 10:19 AM Subject: RE: document or message style SOAP > Thanks Tom , I did at it looks like proxy and stub were generated correctly > > -----Original Message----- > From: Tom Jordahl [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 01, 2002 12:25 PM > To: '[EMAIL PROTECTED]' > Subject: RE: document or message style SOAP > > > > Stan, Josef, > > Much work was done in this area (particularly the generated WSDL) this week. > Try with the current CVS tree and see how it looks. Look for this stuff > to stabilize more next week. > > By the way, if the WSDL has document/literal in it, the Java code > generated still works the same as if it were rpc/encoded. i.e. you > get data types and a java stub class which you can use to invoke the > operations of the server. As a user, you shouldn't have to care what > the WSDL said. At least that is the idea. > > -- > Tom Jordahl > Macromedia > > > -----Original Message----- > From: Frydl, Josef [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 27, 2002 3:08 PM > To: '[EMAIL PROTECTED]' > Subject: RE: document or message style SOAP > > > Thanks Stan, > That would be my point , I assume that wsdl file is just there and code was > generated by hand, > also can I invoke wsdl2java on just wsdl file? > Thanks Josef > > -----Original Message----- > From: Stan Jordan [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 27, 2002 2:57 PM > To: [EMAIL PROTECTED] > Subject: Re: document or message style SOAP > > > Josef... > Since early Feb, there is a message example in the nightly download. You > can create a WSDL file (pasted below) for this example in the usual way. An > interesting "feature" is that this WSDL file says style="rpc" even though > it's doing messaging (see below). Frankly, I am puzzled. > Cheers. > Stan > --------------------------------------------------- > <?xml version="1.0" encoding="UTF-8"?> > <wsdl:definitions > targetNamespace="http://localhost:8080/axis/services/MessageService" > xmlns="http://schemas.xmlsoap.org/wsdl/" > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:impl="http://localhost:8080/axis/services/MessageService-impl" > xmlns:intf="http://localhost:8080/axis/services/MessageService" > xmlns:tns1="http://xml.apache.org/xml-soap" > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" > xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema"><types><schema > targetNamespace="http://xml.apache.org/xml-soap" > xmlns="http://www.w3.org/2001/XMLSchema"><complexType > name="Vector"><complexContent><extension > base="SOAP-ENC:Array"><all/></extension></complexContent></complexType><elem > ent name="Vector" nillable="true" type="tns1:Vector"/></schema><schema > targetNamespace="http://localhost:8080/axis/services/MessageService" > xmlns="http://www.w3.org/2001/XMLSchema"><complexType > name="ArrayOf_tns1_Element"><complexContent><restriction > base="SOAP-ENC:Array"><attribute ref="SOAP-ENC:arrayType" > wsdl:arrayType="tns1:Element[]"/></restriction></complexContent></complexTyp > e><element name="ArrayOf_tns1_Element" nillable="true" > type="intf:ArrayOf_tns1_Element"/></schema></types> > <wsdl:message name="echoElementsResponse"> > <wsdl:part name="return" type="intf:ArrayOf_tns1_Element"/> > </wsdl:message> > <wsdl:message name="echoElementsRequest"> > <wsdl:part name="in1" type="tns1:Vector"/> > </wsdl:message> > <wsdl:portType name="MessageService"> > <wsdl:operation name="echoElements" parameterOrder="in1"> > <wsdl:input message="intf:echoElementsRequest"/> > <wsdl:output message="intf:echoElementsResponse"/> > </wsdl:operation> > </wsdl:portType> > <wsdl:binding name="MessageServiceSoapBinding" type="intf:MessageService"> > <wsdlsoap:binding style="rpc" > transport="http://schemas.xmlsoap.org/soap/http"/> > <wsdl:operation name="echoElements"> > <wsdlsoap:operation soapAction="" style="rpc"/> > <wsdl:input> > <wsdlsoap:body > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="http://localhost:8080/axis/services/MessageService" > use="encoded"/> > </wsdl:input> > <wsdl:output> > <wsdlsoap:body > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="http://localhost:8080/axis/services/MessageService" > use="encoded"/> > </wsdl:output> > </wsdl:operation> > </wsdl:binding> > <wsdl:service name="MessageServiceService"> > <wsdl:port binding="intf:MessageServiceSoapBinding" > name="MessageService"> > <wsdlsoap:address > location="http://localhost:8080/axis/services/MessageService"/> > </wsdl:port> > </wsdl:service> > </wsdl:definitions> > --------------------------------------------------- > ----- Original Message ----- > From: "Frydl, Josef" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, February 27, 2002 12:15 PM > Subject: document or message style SOAP > > > > Is there any utility line wsdl2java which can be used to generate stubs > and > > skeletons for document style SOAP. That is when I specify in wsdl: > > <soap:binding style="document" > > transport="http://schemas.xmlsoap.org/soap/http"/> > > > > Thanks > > Josef Frydl > > [EMAIL PROTECTED] > > 410-345-8511 > > > >
