473,231 Members | 1,750 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,231 software developers and data experts.

Strange SOAP error

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

Jul 17 '05 #1
1 2521
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

-------------------------------------
mi**************@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!
-----------------------------------------------
Jul 27 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Cantor | last post by:
Hello everyone :) I am writing some dotNET code to "consume" a web service written in PHP. So far I have been getting some error messages and PHP seems to place HTML text in front of the XML...
2
by: Artur | last post by:
Hi Newsgroup, im currently working on programming a asp.net application consuming an Webservice hosted on Apache/Axis. I have generated WSDL and Proxy classes from VisualStudio.net. But when...
0
by: Cleo | last post by:
Hi, I am trying to call a WebService Method written in Weblogic from VB.NET and I am getting the following error. I am using SOAP Caal s from VB.NET. Please find the wsdl file and my code. ...
4
by: Jonathan [sbrodolo] | last post by:
Hi there, I am using a LOTUS/DOMINO Web Service in my ASP.Net application and I am having quite a lot of problems. I have managed to solve most of them but this one it really is giving me terrible...
1
by: Ben Crinion | last post by:
I dont think my generated classes are creating a correctly formatted soap envelope I have entered the WSDL into the WebServices Studio app (app is from here...
0
by: Jigar.Patel | last post by:
I have simple remoting server exposing following simple method. When I try to add webreference to this server in another project, it gives me following error: Custom tool error: Unable to import...
0
by: info | last post by:
Dear all, is the first time that I use SOAP, and i must say that i'm having several problems. this is SOAP message that expects the server =================XML EXPECTED FROM THE...
2
by: pmlane2001 | last post by:
I have a PHP SOAP XML file size problem that I was wondering if anyone has seen before. I have an XML file that when I put it through my PHP script with 270 lines (13,082 KB) it works fine. If I...
2
by: furrypop | last post by:
Hi, I'm trying to get the Perl SOAP::Lite examples to work on a Windows PC, running Apache 2.2.4. Apache is definitely serving CGI scripts, as I've tested a dummy Hello World thing. I'm also...
1
by: parimalb | last post by:
Hi All, I want to pass an array argument to the java webservice from perl client using SOAP::LITE package. Please let me know if anyone knows about this. The web method declaration in java is...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.