Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 33113 invoked from network); 29 Dec 2005 01:51:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Dec 2005 01:51:48 -0000 Received: (qmail 37781 invoked by uid 500); 29 Dec 2005 01:51:37 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 37763 invoked by uid 500); 29 Dec 2005 01:51:37 -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 37752 invoked by uid 99); 29 Dec 2005 01:51:37 -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 17:51:37 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [202.87.39.91] (HELO smtp1.netmagicians.com) (202.87.39.91) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Dec 2005 17:51:35 -0800 Received: from netbox.hungama.com (unknown [202.87.45.8]) by smtp1.netmagicians.com (Postfix) with ESMTP id 87D978EC376 for ; Thu, 29 Dec 2005 07:21:06 +0530 (IST) Received: from mukesh (unknown [10.0.0.227]) by netbox.hungama.com (Postfix) with ESMTP id 2BC14DC3E7 for ; Thu, 29 Dec 2005 07:26:35 +0530 (IST) From: "mukesh" To: Subject: RE: soapenc:string vs xsd:string Date: Thu, 29 Dec 2005 07:18:05 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0019_01C60C48.036495A0" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcYMGHzZjhx5XokmSkqgsuhhYkB9VwAAF9mA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: Message-Id: <20051229015635.2BC14DC3E7@netbox.hungama.com> X-NetMagic-MailScanner: Found to be clean, Found to be clean X-NetMagic-MailScanner-SpamCheck: X-NetMagic-MailScanner-Information: Powered By NetMagic Mail Protection v1.0 X-NetMagic-MailScanner-From: mukesh@hungama.com X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_0019_01C60C48.036495A0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, I must say thanks to iksrazal. I have used "-y encoded" option with Java2WSDL and problem solved it has yet to be tested at another end (person who is using MSSoap ). Anne: parameter name="dotNetSoapEncFix" value="true"/> is already added in my /axis/WEB-INF/server-config.wsdd inside global tag. But I do know how it will affect WSDL . I have changed it to false and I did not see any effect. Do I Need to change somewhere else too ? -Mukesh _____ From: Anne Thomas Manes [mailto:atmanes@gmail.com] Sent: Thursday, December 29, 2005 12:12 AM To: axis-user@ws.apache.org Subject: Re: soapenc:string vs xsd:string 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 can > 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=0x80004005 > -WSDLReader:Initialization of service failed > > HRESULT=0x80004005 -WSDLService:Initialization of the port for service > HungamaMWSService failed > > HRESULT=0x80004005 - WSDLPort:Analyzing the binding information for port > hungamamws failed HRESULT=0x80004005 - WSDLPort:An operation for port > hungamamws could not be initialized HRESULT=0x80004005 - > > WSDLOperation:Initializing of the input message failed for operation > deliverMOMessage HRESULT=0x80004005 - WSDLOperation:Initialization of a > SoapMapper for operation deliverMOMessage failed HRESULT=0x80004005 - > > SoapMapper:The SoapMapper for element string could not be created > > HRESULT=0x80004005 - 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 > > > > < http://202.87.41.147:2503/axis/services/hungamamws?wsdl## > - > > > > > > > > > > > > > > > > > > > > > > > > > > > I need type="xsd:string" instead of type="soapenc:string". Its > little urgent. > > > > Please suggest me how can I generate a WSDL which work on both kind > of systems. > > > > -Mukesh -- ------=_NextPart_000_0019_01C60C48.036495A0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

 I must say thanks to = iksrazal. I have used “–y  encoded” option with Java2WSDL and = problem solved it has yet to be tested at another end (person who is using MSSoap = ).

 

Anne: parameter name=3D"dotNetSoapEncFix" = value=3D"true"/> is already added in my /axis/WEB-INF/server-config.wsdd inside global tag. = But I do know how it will affect WSDL .

 

I have changed it to false and I = did not see any effect. Do I Need to change somewhere else too = ?

 

-Mukesh

=

 

 

 


From: Anne = Thomas Manes [mailto:atmanes@gmail.com]
Sent: Thursday, December = 29, 2005 12:12 AM
To: = axis-user@ws.apache.org
Subject: Re: = soapenc:string vs xsd:string

 

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:
   <parameter name=3D"dotNetSoapEncFix" value=3D"true"/>

Anne

On 12/28/05, iksrazal <iksrazal@gmail.com> = 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/<= /a>

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.
>
>
>
>           &nb= sp; 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
> 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 = service
> HungamaMWSService failed
>
> HRESULT=3D0x80004005 - WSDLPort:Analyzing the binding information = for port
> 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.
>
>           &nb= sp; But I could not find any way to generate WSDL file without
> above scheme using Axis toolkit.
>
>
>
>           &nb= sp; Excerpt from generated 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:short" />
>
>   <wsdl:part name=3D"in1" type=3D"soapenc:string" />
>
>   <wsdl:part name=3D"in2" type=3D"soapenc:string" />
>
>   <wsdl:part name=3D"in3" type=3D"soapenc:string" />
>
>   <wsdl:part name=3D"in4" type=3D"soapenc:string" />
>
>   <wsdl:part name=3D"in5" = type=3D"xsd:double" />
>
>   <wsdl:part name=3D"in6" type=3D"soapenc:string" />
>
>   <wsdl:part name=3D"in7" = type=3D"soapenc:string" />
>
>   <wsdl:part name=3D"in8" type=3D"impl:ArrayOf_soapenc_string" />
>
>   <wsdl:part name=3D"in9" = type=3D"xsd:int" />
>
>   </wsdl:message>
>
>
>
>        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

--

 

------=_NextPart_000_0019_01C60C48.036495A0--