Return-Path: Mailing-List: contact axis-user-help@xml.apache.org; run by ezmlm Delivered-To: mailing list axis-user@xml.apache.org Received: (qmail 97342 invoked from network); 8 Jan 2002 18:04:55 -0000 Received: from amber.he.net (216.218.172.2) by daedalus.apache.org with SMTP; 8 Jan 2002 18:04:55 -0000 Received: from dell750 (adsl-64-108-9-81.dsl.chcgil.ameritech.net [64.108.9.81]) by amber.he.net (8.8.6/8.8.2) with ESMTP id KAA26409 for ; Tue, 8 Jan 2002 10:05:01 -0800 Message-ID: <001f01c1986f$d83ef140$51096c40@dell750> From: "Mark Young" To: References: <1B6C843BC66CD5119604000347417BFFEECD64@eg-msgmbx-a13.int.westgroup.com> Subject: Re: Axis and MS SOAP Date: Tue, 8 Jan 2002 12:11:07 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Richard: I see that the WSDL has two schemas embedded in it, one of which references definitions in the other. This is valid, for sure, but I have seen that some web service frameworks have trouble following it. Unfortunately I haven't tried MS SOAP in quite a while, so I can't tell you for sure if it handles this or not. The version of .net Beta 2 I've tried does not handle it. I believe that the latest version of .net does handle it. No promises, but you might try collapsing the two schemas into one. It's a bit tricky: you have to make sure that you get the targetnamespaces and qnames right. Oh, all right, I've done it for you (inline below). Please note that I found two other problems that made the version I have of WSDL2Java not want to process it: 1) use of soap:Array -- you mean soapenc:Array, I think 2) nothing in the soap:address element (you need a location="something"). I patched these for you. Try the enclosed with MS SOAP and see if it likes it. Regards, ------------------------------------------- Mark Young Omniopera: XML Schema and WSDL Authoring Software http://www.omniopera.com ----------------- Patched WSDL: ----------------- ------------------------------- End of patched WSDL ------------------------------- ----- Original Message ----- From: "Hansen, Richard" To: Sent: Tuesday, January 08, 2002 8:18 AM Subject: RE: Axis and MS SOAP > > -----Original Message----- > > From: Russell Butek [mailto:butek@us.ibm.com] > > Sent: Tuesday, January 08, 2002 7:29 AM > > To: axis-user@xml.apache.org > > Subject: RE: Axis and MS SOAP > > > > > > Could you post an example of WSDL that fails on MS SOAP and the errors > > you're seeing? > > The only error is "WSDLReader:Analyzing the WSDL file failed > HRESULT=0x80004005". As I mentioned, I don't think the reader is even > getting through the parsing. If I specify a bad port name I don't get the > normal "port not found error". > > Below is the WSDL. You will notice that it has a complex type, and I have > not yet filled in the address. Other than specifying a target namespace, I > just let java2wsdl do what it wanted. > > Rick > > > xmlns="http://schemas.xmlsoap.org/wsdl/" > xmlns:impl="http://string-service-impl" xmlns:intf="http://string-service" > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:tns1="http://common.service" > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > > xmlns="http://www.w3.org/2001/XMLSchema"> > > > > > > > > > xmlns="http://www.w3.org/2001/XMLSchema"> > > > > > > > > type="intf:ArrayOf_xsd_string"/> > > > > wsdl:arrayType="tns1:StringBean[]"/> > > > > type="intf:ArrayOf_tns1_StringBean"/> > > > > > > > > > > > > > > > > > > type="intf:ArrayOf_tns1_StringBean"/> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > transport="http://schemas.xmlsoap.org/soap/http"/> > > > > > > > > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="http://string-service" use="encoded"/> > > > > > > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="http://string-service" use="encoded"/> > > > > > > > > > > > > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="http://string-service" use="encoded"/> > > > > > > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="http://string-service" use="encoded"/> > > > > > > > > > > > > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="http://string-service" use="encoded"/> > > > > > > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="http://string-service" use="encoded"/> > > > > > > > > > > > > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="http://string-service" use="encoded"/> > > > > > > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="http://string-service" use="encoded"/> > > > > > > > > > > > > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="http://string-service" use="encoded"/> > > > > > > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="http://string-service" use="encoded"/> > > > > > > > > > > > > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="http://string-service" use="encoded"/> > > > > > > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="http://string-service" use="encoded"/> > > > > > > > > > > > > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="http://string-service" use="encoded"/> > > > > > > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > namespace="http://string-service" use="encoded"/> > > > > > > > > > > name="StringService"> > > > > > > > > >