Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / March 2005

Tip: Looking for answers? Try searching our database.

How to create a custom SOAP request?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dave - 01 Mar 2005 14:53 GMT
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
Dilip Krishnan - 01 Mar 2005 15:08 GMT
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
[quoted text clipped - 14 lines]
>
> Dave
Dave - 01 Mar 2005 15:27 GMT
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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.