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

WSDL problem for a SOAP web service

Hi NG,

I've got this annoying problem:

On the server's side there's an Apache w/ PHP running. I wrote a kind of
"bare bones" SOAP implementation, though meeting the SOAP specs. Afaics
this part isn't causing the problem.

To be able to use wsdl.exe, I've tried to describe my web service wie a
WSDL file. I will post this file as soon as an expert is willing to care
for my troubles and asks me to do so, since the file is of course kind
of lengthy. To find a hook to get on the right trace, I've told my PHP
script to write the .NET client app's requests into a log file. This
file, though, is witnessing the garbage the client app is producing:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="..."
xmlns:types="..."
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <xsd:int xsi:type="xsd:int">1</xsd:int>
</soap:Body>

</soap:Envelope>

The lines marked with ">"s are, of course, just nonesense. A correct
request would look like:

<soap:Body xmlns:m="Meins">
<m:GetUser>
<m:UserID>1</m:UserID>
</m:GetUser>
</soap:Body>

The WSDL file contains:

<message name="GetUser">
<part name="UserID" type="xsd:int" />
</message>

I've tried to use types before, but wsdl.exe refused to create
appropriate code with a message about a non-existent type definition. Of
course, first I tought I made a mistake, but then I tried an example
WSDL file from http://www.w3.org/TR/wsdl#_rpcexample. wsdl.exe carped
about the same stuff (non-existent type-defs). Because of that, I
switched to XMLSchema types. But since then, wsdl.exe is producing the
described rubbish.

What am I doing wrong??? Any hint??? Thx in advance!

Regards from Germany,
Carsten
Nov 21 '05 #1
1 1505
You really should attach full wsdl file, without a service description it
would be just a speculation on "why wsdl.exe does not work"
Please supply the service definition including all schema types.

Thank you,
Elena
Nov 21 '05 #2

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

Similar topics

24
by: Generic Usenet Account | last post by:
Does anyone have an opinion on how IDL and WSDL compare to each other? Are they equally powerful in their "expressive power"? Sometimes it appears to me that IDL is a little easier for humans to...
5
by: relaxedrob | last post by:
Hi All! I ran the following w3c example through my WSDL parser (SOA Editor from Cape Clear): http://www.w3.org/TR/wsdl#_rpcexample It told me that there were a bunch of erros about no...
1
by: ffhansix | last post by:
Hi, I am having problems with generating a c# proxy class from a IBM websphere WSDL file, when running the wsdl.exe to create the c# proxy file command i recieve an error: Warning: one or...
0
by: Dave | last post by:
Hi, If anyone could help with this, I would greatly appreciate it! I've created my own WSDL file and referenced an XSD file too. I've generated a service side interface using wsdl /server, and...
2
by: pshvarts | last post by:
(I'm new in SOAP) I get some wsdl file (from apache service ). I tried creating SOAP client with .NET - trying to add Web Reference and get error like: "Custom tool error: Unable to import...
0
by: Elhanan | last post by:
hi.. i have a small Web Service which is consumed by dotnet application the webservice is located in 2 places. the first is my local tomcat, and the second is in websphere server. problems is...
0
by: mom_newbie | last post by:
Dear all, Could someone suggest a good WSDL reading, oriented for manual Web services implementation? There are plenty working ATL and .NET examples in Internet, but I have troubles making a...
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: shaily | last post by:
hi I have a java web service called "Registration service" and C# client which is a consumer of that service java web service running under Tomcat has following interface API exposed ...
5
by: Nick K. | last post by:
I use wsdl.exe to generate client code to call a web service. The actual web service is generated with the BizTalk Web Services Publishing Wizard. I'm not sure this is particular to the BizTalk...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.