You are here: Re: Strange SOAP error « PHP Programming Language « IT news, forums, messages
Re: Strange SOAP error

Posted by vincent on 11/01/46 11:22

Hey, I'm facing the same problem here. A few minutes ago I read that it
can depend on the java version you are using. With java 1.4.2 it should
work, but not with version 1.5.
But I'm working here with version 1.3.2. And I think I'm going to change
this, because this error is turning me mad!

Do you think it's possible?

Greets

-------------------------------------
mikael.lindqvist@pokergaming.c wrote:




> I have a program that calls a web service using the PEAR SOAP
> extension. The problem is that on one machine it works and on another
> it doesn't. The actual part of the conversation that specifies the
> method to call and the parameters looks like this in the case where it
> works:

> <ns5:getCustomerInfoFromSID>
> <ns5:sid>xxx</ns5:sid>
> </ns5:getCustomerInfoFromSID>

> And in the case where it doesn't work like this:

> <ns5:getCustomerInfoFromSID>
> <sid xsi:type="xsd:string">xxx</sid>
> </ns5:getCustomerInfoFromSID>

> The webservice fails and gives a message:

> Error deserializing arguments.
> Unrecognized element sid - expected sid@http://www.test.com/

> Which kind of makes sense since there is no ns5 namespace on the
> parameter. But why isn't there?

> Any ideas would be much appreciated!

> -- Mikael







-- ---------------------------------------------
Article posted with Web Developer's USENET Archive
http://www.1-script.com/forums
no-spam read and post WWW interface to your favorite newsgroup -
comp.lang.php - 31231 messages and counting!
-----------------------------------------------

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация