XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Support UserSubject: How to set the WSDL Authentication Header i stylus?
Author: Support User
Date: 07 Feb 2005 04:32 AM
Originally Posted: 07 Feb 2005 04:31 AM
Hi<br> <br> Looking at the stylus and try to test one of my webservices. Now<br> i need to set the Authentication Header username and password. How can i do this<br> in stylus?<br> <br> Other soap tester clients usually have a tab with the header elements bu i cannot<br> find any here!<br> <br> Any ideas!?<br> <br> Thanks<br> <br> /Tord

Postnext
Ivan PedruzziSubject: How to set the WSDL Authentication Header i stylus?
Author: Ivan Pedruzzi
Date: 07 Feb 2005 11:16 AM

Unfortunatly custom headers are not supported,
The only work around I can suggest is to type the header in the XML message.


Ivan

Postnext
Philippe MarsteauSubject: How to set the WSDL Authentication Header i stylus?
Author: Philippe Marsteau
Date: 31 Oct 2005 07:55 PM
could you please detail the procedure. How can I set a header within a xml message? Make no sense for me. I think the ability to supply a user/password while sending a web service request should be implemented and tested. The current user and password you can enter in a web service scenario does not work at least in the version 6.0.222 i have. This is a major drawback against using Stylus in our company.

Posttop
Ivan PedruzziSubject: How to set the WSDL Authentication Header i stylus?
Author: Ivan Pedruzzi
Date: 31 Oct 2005 11:48 PM
>could you please detail the
>procedure. How can I set a
>header within a xml message?
>Make no sense for me. I think

If the WS you are trying to test requires a SOAP header like the
following example you can simply type the header in the XML before sending the message

<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header>
<tns:UserCredentials xmlns:tns="http://ejse.com/WeatherService/">
<tns:UserName>myuser</tns:UserName>
<tns:Password>mypassword</tns:Password>
</tns:UserCredentials>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<tns:GetWeatherInfo xmlns:tns="http://ejse.com/WeatherService/">
<tns:zipCode>01803</tns:zipCode>
</tns:GetWeatherInfo>
</SOAP-ENV:Body>

>the ability to supply a
>user/password while sending a

User and password in the scenario are used for the underline HTTP connection.

Ivan Pedruzzi
Stylus Studio Team

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.