Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 59175 invoked from network); 28 Dec 2005 18:42:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Dec 2005 18:42:23 -0000 Received: (qmail 10198 invoked by uid 500); 28 Dec 2005 18:42:14 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 10185 invoked by uid 500); 28 Dec 2005 18:42:14 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 10174 invoked by uid 99); 28 Dec 2005 18:42:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Dec 2005 10:42:14 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of atmanes@gmail.com designates 64.233.184.203 as permitted sender) Received: from [64.233.184.203] (HELO wproxy.gmail.com) (64.233.184.203) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Dec 2005 10:42:13 -0800 Received: by wproxy.gmail.com with SMTP id i32so1308695wra for ; Wed, 28 Dec 2005 10:41:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=jvWezl0E586mjoECyQ1dm7Yk5SdEPz7LYFpKpux+XbnRn1q9ajKbc57uajXNyOZ/WJpsdBArWci7dBO4KZFvQH9vXe1dKZCA8wT1lsJHOZAXk0oJ2W8GpYAmJQwPPbxm/i5W3ZYk6YBaA0jK5diGRyXuclcRPl8qqeL5QWmH2r8= Received: by 10.54.96.2 with SMTP id t2mr6998519wrb; Wed, 28 Dec 2005 10:41:50 -0800 (PST) Received: by 10.54.100.1 with HTTP; Wed, 28 Dec 2005 10:41:50 -0800 (PST) Message-ID: Date: Wed, 28 Dec 2005 13:41:50 -0500 From: Anne Thomas Manes To: axis-user@ws.apache.org Subject: Re: soapenc:string vs xsd:string In-Reply-To: <200512281453.50565.iksrazal@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_41561_13723770.1135795310233" References: <20051228174239.06342DC3E4@netbox.hungama.com> <200512281453.50565.iksrazal@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_41561_13723770.1135795310233 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I concur with iksrazel. Switch to wrapped document/literal. But if for some reason that is not an option for you, then add this parameter to your WSDD: Anne On 12/28/05, iksrazal wrote: > > Don't use soap encoding with .net - or really anywhere these days if you > can > avoid it. Google for document/literal wrapped - plenty of examples out > there. > > HTH, > iksrazal > http://www.braziloutsource.com/ > > Em Quarta 28 Dezembro 2005 15:34, o mukesh escreveu: > > Hi friends, > > > > > > > > I am using Axis1.3 + tomcat 5.5.12 on linux 7.0s. > > > > > > > > I have developed a simple web service and deployed it. I ca= n > > access it without problem from any tomcat + Axis server but I've got > > following error while trying to access from IIS + MSSoap Client running > on > > WIN NT. > > > > > > > > > > > > > > > > WSDLReader:Analyzing the WSDL file failed HRESULT=3D0x80004005 > > -WSDLReader:Initialization of service failed > > > > HRESULT=3D0x80004005 -WSDLService:Initialization of the port for servic= e > > HungamaMWSService failed > > > > HRESULT=3D0x80004005 - WSDLPort:Analyzing the binding information for p= ort > > hungamamws failed HRESULT=3D0x80004005 - WSDLPort:An operation for port > > hungamamws could not be initialized HRESULT=3D0x80004005 - > > > > WSDLOperation:Initializing of the input message failed for operation > > deliverMOMessage HRESULT=3D0x80004005 - WSDLOperation:Initialization of= a > > SoapMapper for operation deliverMOMessage failed HRESULT=3D0x80004005 - > > > > SoapMapper:The SoapMapper for element string could not be created > > > > HRESULT=3D0x80004005 - SoapMapper:The schema definition with a > > targetnamespace of http://schemas.xmlsoap.org/soap/encoding > > > > > > > > Well, problem was encoding (http://schemas.xmlsoap.org/soap/encoding ) > > scheme as it is not understood by MSSoap. > > > > But I could not find any way to generate WSDL file without > > above scheme using Axis toolkit. > > > > > > > > Excerpt from generated WSDL file > > > > > > > > - > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I need type=3D"xsd:string" instead of type=3D"soapenc:string". = Its > > little urgent. > > > > > > > > Please suggest me how can I generate a WSDL which work on both > kind > > of systems. > > > > > > > > -Mukesh > > -- > ------=_Part_41561_13723770.1135795310233 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I concur with iksrazel. Switch to wrapped document/literal.
But if for some reason that is not an option for you, then add this paramet= er to your WSDD:
   <parameter name=3D"dotNetSoapEncFix" value=3D&quo= t;true"/>

Anne

On 12/28/05, iksrazal <iksraza= l@gmail.com> wrote:
Don't use soap encoding with .net - or really anywhere these days if you ca= n
avoid it. Google for document/literal wrapped  - plenty of e= xamples out
there.

HTH,
iksrazal
http://www.braziloutsource.com/

Em Quarta 28 Dezembro 2005 15:34= , o mukesh escreveu:
> Hi friends,
>
>
>
>&nb= sp;            I am = using Axis1.3 + tomcat 5.5.12 on linux 7.0s.
>
>
>
>         &= nbsp;   I have developed a simple web service and deployed it. I can
> access= it without problem from any tomcat + Axis server but I've got
> foll= owing error while trying to access from IIS + MSSoap Client running on
> WIN NT.
>
>
>
>
>
>
>> WSDLReader:Analyzing the WSDL file failed HRESULT=3D0x80004005
>= ; -WSDLReader:Initialization of service failed
>
> HRESULT=3D0x= 80004005 -WSDLService:Initialization of the port for service
> HungamaMWSService failed
>
> HRESULT=3D0x80004005 - WS= DLPort:Analyzing the binding information for port
> hungamamws failed= HRESULT=3D0x80004005 - WSDLPort:An operation for port
> hungamamws c= ould not be initialized HRESULT=3D0x80004005 -
>
> WSDLOperation:Initializing of the input message failed for= operation
> deliverMOMessage HRESULT=3D0x80004005 - WSDLOperation:In= itialization of a
> SoapMapper for operation deliverMOMessage failed = HRESULT=3D0x80004005 -
>
> SoapMapper:The SoapMapper for element string could not be = created
>
> HRESULT=3D0x80004005 - SoapMapper:The schema defini= tion with a
> targetnamespace of http://schemas.xmlsoap.org/soap/encoding
>
>
>
>= ; Well, problem was encoding (http://schemas.xmlsoap.org/soap/encoding )
> scheme as it= is not understood by MSSoap.
>
>          = ;   But I could not find any way to generate WSDL file without
> above sc= heme using Axis toolkit.
>
>
>
>   &= nbsp;         Excerpt from generate= d WSDL file
>
>
>
>  < http://202.87.41.147:2503/axis/services/hungamamws?wsdl##> -
>= <wsdl:message name=3D"deliverMOMessageRequest">
>>   <wsdl:part name=3D"in0" type=3D"xsd:sho= rt" />
>
>   <wsdl:part name=3D"in1" type=3D&q= uot;soapenc:string" />
>
>   <wsdl:part na= me=3D"in2" type=3D"soapenc:string" />
>
>= ;   <wsdl:part name=3D"in3" type=3D"soapenc:str= ing" />
>
>   <wsdl:part name=3D"in4" type=3D&q= uot;soapenc:string" />
>
>   <wsdl:part na= me=3D"in5" type=3D"xsd:double" />
>
>&nb= sp;  <wsdl:part name=3D"in6" type=3D"soapenc:string&= quot; />
>
>   <wsdl:part name=3D"in7" type=3D&q= uot;soapenc:string" />
>
>   <wsdl:part na= me=3D"in8" type=3D"impl:ArrayOf_soapenc_string" />>
>   <wsdl:part name=3D"in9" type=3D&quo= t;xsd:int" />
>
>   </wsdl:message>
>
>
><= br>>        I need type=3D"= xsd:string" instead of  type=3D"soapenc:string". I= ts
> little urgent.
>
>
>
>   =      Please suggest me how can I generate a WSDL w= hich work on both kind
> of systems.
>
>
>
>  -Mukesh
=
--

------=_Part_41561_13723770.1135795310233--