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

Accessing SAP WAS via SOAP / xml-namespace problem

hello everybody,

I want to call a method on a SAP WAS. For testing purposes, I do have
the same method on two WASs. One of them has been updated recently.
The wsdl-files of both are not identical from a text point of view,
however, from the xml-point of view they are (one declares all types
inline, the other by type-attributes and subsequent definition). so,
no wonder at all, both of them result in identical c#-proxyclasses
after applying the wsdl.exe.

the problem is, it works fine with one server, i.e. after calling
'invoke' in the proxyclass, I get an object arry with two non-null
elements, as expected. after calling the 2nd server the results array
has two elements as well - but both are null.
the only difference is the namespace handling in the two returned
soap-response documents, respectively.

it works if the response handles the response-namespaces without
prefix:
[...]
<Service.Response xmlns="urn:sap-com:document:sap:rfc:functions">
[...]

it fails, if the Service.Response-element looks like this:
[...]
<rfc:Service.Response
xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
[...]

which is, IMHO, pretty strange as both cases should be similar from an
xml-point of view (no other namespaces are declared in the child
elements, and there are no siblings to this response element, so there
is no reason for a namespace-confusion here...).

does anyone have an idea why this happens? to me, this looks like a
bug in the machinery behind this invoke (WebServices.dll or
something...).
and, regardless wether you have an idea why, maybe one of you has a
solution to this problem (I do want to work without explicitly
generating and sending soap-messages - I thought it'd be soo cool with
wsdl and this stuff...).

thanks for reading and thinking...

stefan
Nov 12 '05 #1
0 1698

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

Similar topics

0
by: bigbinc | last post by:
I have setup a soap machine on linux and similar configuration works properly. on a windows mahcine, I get these erros on the addressbook, samples, any ideas. I am pretty sure my classpaths are...
6
by: ASPfool | last post by:
Hello everyone, Please help me before I throw my computer out of the window: I'm working on a web application in classic ASP (vbscript), which is making calls to some webservices. The calls...
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: Matt Wood | last post by:
Hi, I have written a Web Service for a customer which expects a SOAP message with Document/Literal encoding, and uses RoutingStyle=SoapServiceRoutingStyle.RequestElement to route the SOAP body...
0
by: Daniel | last post by:
Hi, I need help signing SOAP/XML. Have been stuck with this for a couple of days now. I get the following error message from the server: "The security token could not be authenticated or...
0
by: Doug Caldwell | last post by:
Hi! ** Accessing the USGS Web Service Using Python ** I am trying to access the US Geological Survey's gazetteer SOAP web service using Python to find the locations of all the places with the...
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...
0
by: nyathancha | last post by:
Hi, I am wondering if there is anyway of easily accessing the messageID that gets posted in the soap header with wse 3.0 I built a custom filter on the client for debugging purposes and I can...
1
by: akumar8k | last post by:
when i am excusing the below code i am getting the error. Error 1 − <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> − <SOAP-ENV:Body> −
1
Plater
by: Plater | last post by:
I have a webservice that claims the following: SOAP 1.1 The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values. POST...
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: 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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.