User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the RSS, Web Services and SOAP section within the Web Development category of DaniWeb, a massive community of 423,380 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,839 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our RSS, Web Services and SOAP advertiser: Programming Forums
Views: 1236 | Replies: 0
Reply
Join Date: Aug 2007
Posts: 1
Reputation: biggie_mac is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
biggie_mac biggie_mac is offline Offline
Newbie Poster

problems understanding soap

  #1  
Aug 9th, 2007
I'm having problems understanding how soap works. I understood how to build a request but what do you do with it?? what do you do with the xml file that you build?? practicle example/question....i'm using a java application where a user introduces in a form the domain and username. And having these 2 values, I want to get his name and surname. So my boss says"query this web service:" and he gives me a link with a soap request like:

[CODE
POST /service/getname.asmx HTTP/1.1
Host: xxx
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://mysite/servicename"

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

][/code]

and a url to a wsdl...but I don't know how exactly to use this? can anyone explain how all this works? how do I connect java with the wsdl and with the soap so I can get the soap response? I understood the basics..you build a xml file as request, you get a xml file as a response. But at this point I can't figure it out how to send that request(that xml file)..
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb RSS, Web Services and SOAP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the RSS, Web Services and SOAP Forum

All times are GMT -4. The time now is 12:39 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC