473,396 Members | 2,026 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.

How to create a custom SOAP request?

Hi everyone,
I'm working on a ASP.NET application where I have to consume WebServices
from JAVA.

When I look at the SOAP response from the JAVA app, it looks like this
<str:XXXEnvelope ...></...> as you can see it is (namespaces) completely
different from what VS.NET generates.
So I am guessing I have to adapt my SOAP envelope.
I have no idea of how I can do this. As you probably undesrstood, I am
completely new to WebServices, I have a good understanding of XML and schemas
though.

Where should I look?

thanx

Dave

Nov 23 '05 #1
2 2363
Hello Dave,
If the java application is a web service. The messages should be semantically
equal barring interop issues. So in essense the namespaces should be the
same. Can you post the complete soap message

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com
Hi everyone,
I'm working on a ASP.NET application where I have to consume
WebServices
from JAVA.
When I look at the SOAP response from the JAVA app, it looks like this
<str:XXXEnvelope ...></...> as you can see it is (namespaces)
completely
different from what VS.NET generates.
So I am guessing I have to adapt my SOAP envelope.
I have no idea of how I can do this. As you probably undesrstood, I am
completely new to WebServices, I have a good understanding of XML and
schemas
though.
Where should I look?

thanx

Dave


Nov 23 '05 #2
thanks Dilip for your answer.
here is a sample
<str:kkkEnvelope
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:str="xxx" xmlns:pers="http://yyy" xmlns:idt="http://zzz"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="rrr"
">
<str:Header>
<str:Flow>
<str:MessageID>1</str:MessageID>
<str:From>from</str:From>
<str:To>to</str:To>
<str:TimeStamp>2004-10-07T09:30:47-05:00</str:TimeStamp>
</str:Flow>
</str:Header>
<str:Body>
<str:Action>
<str:Do>Update</str:Do>
<str:Parameters>
Some parameters...
</str:Parameters>
</str:Action>
</str:Body>
</str:kkkEnvelope>

I can't change this SOAP message, I have to match it.
Nov 23 '05 #3

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

Similar topics

4
by: hellrazor | last post by:
Hi there, I'm trying to consume a web-service that is supposed to return a collection of a custom object. The web-service was not created with C# or VS.net. It was created with IBM VisualAge...
1
by: Stu | last post by:
Hi, Im using vis studio 2003 and I think wse is out of the question as clients could be using java which doesnt support it. So I managed to find some code which allows you to develop a custom...
0
by: =?Utf-8?B?UmFzbXVzIEx5bmdnYWFyZA==?= | last post by:
I'm trying the custom soap header authentication in this example: http://msdn2.microsoft.com/en-us/library/9z52by6a.aspx I put the two long C# codes in a .cs file and register the module in...
0
by: Nithi Gurusamy | last post by:
I have generated a Web-Service-Proxy (Add Web Reference) within VS. This proxy class is based on WebServicesClientProtocol of WSE 3.0. I want to add some custom HTTP Headers to the envelop before...
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...
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.