473,396 Members | 1,784 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,396 software developers and data experts.

Client sends incomplete SOAP-Request

I'm consuming an AXIS-webservice. Therefore I got the WSDL.
I added a new web reference to my project pointing to this WSDL.

In Visual Studio I can use all objects the webservice returns and The
service responds to all requests. But there is also a method I have to send
one of the complex types defined in WSDL. And there is the problem. The
SOAP-Request contains no type-information and so the service is not able to
deserialize the objects sent.

my request contains:
<User><name>Barth</name><vorname>Simon</vorname></User>

the service expects:
<multiRef id="id0" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns4:User"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns4="urn:UserSync">
<name xsi:type="xsd:string">Barth</name>
<vorname xsi:type="xsd:string">Simon</vorname>
</multiRef>

Where am I able to influence this behaviour? The provider of the service
says these type informations are essential....

Jan 10 '08 #1
1 1868

"Martin Hey" <ma*******@kaffeeschluerfer.comwrote in message
news:E7**********************************@microsof t.com...
I'm consuming an AXIS-webservice. Therefore I got the WSDL.
I added a new web reference to my project pointing to this WSDL.

In Visual Studio I can use all objects the webservice returns and The
service responds to all requests. But there is also a method I have to
send one of the complex types defined in WSDL. And there is the problem.
The SOAP-Request contains no type-information and so the service is not
able to deserialize the objects sent.

my request contains:
<User><name>Barth</name><vorname>Simon</vorname></User>

the service expects:
<multiRef id="id0" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns4:User"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns4="urn:UserSync">
<name xsi:type="xsd:string">Barth</name>
<vorname xsi:type="xsd:string">Simon</vorname>
</multiRef>

Where am I able to influence this behaviour? The provider of the service
says these type informations are essential....
You need a Type.XSD to explain the types, which the service provider should
have provided to you. If you have a problem, you need to get back in touch
with the provider to explain, provide information and help in making or
using their Web service.

Jan 11 '08 #2

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

Similar topics

0
by: Paul Hutchinson | last post by:
All, I wonder if anyone can help/advise with the following interoperability issue we are encountering? We have a .NET web service that takes an abstract type as parameter. Using it from a...
0
by: Johann Blake | last post by:
I have an application that runs on a web server that sends data to clients over a TCP socket. The data comes from a class that has been serialized. The class exists in a library (a DLL). The...
7
by: David Laub | last post by:
I've also posted this issue to a Sun/java formum, but since it appears to be an integration issue, this may be the better place to posr: I have written a dot net/c# Web Services doesn't fully...
0
by: Daniel Thune, MCSE | last post by:
I am having a problem with formatting a SOAP Header in a .Net client. The client calls a Java Axis 1.1 based web service. In order to authenticate the caller, the web service call is intercepted by...
0
by: kapil singhal via DotNetMonster.com | last post by:
I have a C#/.Net 1.1 client talking to a Java based web service. I want to make it a stateful service and i found this solution only: 1. the instance IDs are transferred in the SOAP headers. 2....
1
by: Paul | last post by:
Hi, I have a web service application that uses AXIS at the server side and C# at the client side. the C# client code was generated using wsdl.exe. When AXIS raised an exception, it sends the...
1
by: admspam | last post by:
Hi, I've spent quite a bit of time looking into this, but am having trouble finding a straighforward solution. What is the best/recommended way to return an ADO.NET data set to a PHP SOAP...
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...
2
by: bhushanbsc | last post by:
Hi, I am working on a project related to windows pocket pc 5.0 (win32). in that i am trying client-server communicationusing SOAP server. but facing problem on...
4
by: gcharbon | last post by:
Hi community, I have a problem with a Soap client written in php. I have a local server (coded in c and a client in c too, it works fine), but i want to test client in php, and i have an error...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.