Testing Web Service via WSDL SOAP Analyser
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 3
- Joined: Wed Nov 24, 2004 5:54 am
Testing Web Service via WSDL SOAP Analyser
Post by steven at xsoftware »
Is there any way when you're testing a Web Service via WSDL SOAP Analyser, that you can specify a user name and password to authenticate via HTTP Basic Authentication?
Autentication
I assume from your post that you can download the wsdl file and build the SOAP request from it.
In the WSDL SOAP Analyser Dialog there is a textfield called "URL" which actually specifies the URL to which the soap request will be sent.
If the server to which the URL points to has HTTP Authentication installed there are 2 ways in which you can provide the required username and password:
1) For the standalone version a pop-up window should appear asking for username and password.
2) If this does not work or if you are running the Eclipse plugin version:
Save the wsdl file locally (with "wsdl" extension), open the wsdl file in the editor, search for a paragraph like the following:
The location attribute is actually the URL used for connection for the chosen port. You can edit the location to contain both username and password like:
After that, press the WSDL SOAP Analyser toolbar button and try sending the request. The URL textfield should now show the modified URL.
This sends the authentication info directly to the server so it shold work both for the Eclipse plugin and the standalone version.
Please tell us if you run into any problems.
In the WSDL SOAP Analyser Dialog there is a textfield called "URL" which actually specifies the URL to which the soap request will be sent.
If the server to which the URL points to has HTTP Authentication installed there are 2 ways in which you can provide the required username and password:
1) For the standalone version a pop-up window should appear asking for username and password.
2) If this does not work or if you are running the Eclipse plugin version:
Save the wsdl file locally (with "wsdl" extension), open the wsdl file in the editor, search for a paragraph like the following:
Code: Select all
<port name="XXXX" binding="XXXX">
<soap:address location="http://www.xignite.com/xCurrencies.asmx"/>
</port>
Code: Select all
<soap:address location="http://username:password@www.xignite.com/xCurrencies.asmx"/>
This sends the authentication info directly to the server so it shold work both for the Eclipse plugin and the standalone version.
Please tell us if you run into any problems.
-
- Posts: 3
- Joined: Wed Nov 24, 2004 5:54 am
Post by steven at xsoftware »
Thanks, I probably should have known / guessed this. Appreciate it.
Am using the Eclipse plug-in for those with a similar question.
Am using the Eclipse plug-in for those with a similar question.
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service