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
Collin NgSubject: faultString: (401)Unauthorized with NTLM
Author: Collin Ng
Date: 30 Jan 2007 09:53 PM
Hi, I'm a new tryout user. I got the above error after trying to hit a web service that requires NTLM authentication required. Does Stylus Studio supports NTLM? Below is the stack trace:

- Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (401)Unauthorized
faultActor:
faultNode:
faultDetail:
{}:return code: 401
<html><head><title>Apache Tomcat/5.5.9 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 401 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>This request requires HTTP authentication ().</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/5.5.9</h3></body></html>
{http://xml.apache.org/axis/}HttpErrorCode:401

(401)Unauthorized
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:1910)
at com.exln.stylus.webservice.AxisStub.send(AxisStub.java:190)


Postnext
Ivan PedruzziSubject: faultString: (401)Unauthorized with NTLM
Author: Ivan Pedruzzi
Date: 30 Jan 2007 11:30 PM

Could you please try .NET client?

http://www.stylusstudio.com/docs/v2007/d_webservices24.html#wp355794

Thank you
Ivan Pedruzzi
Stylus Studio Team

Postnext
Collin NgSubject: faultString: (401)Unauthorized with NTLM
Author: Collin Ng
Date: 31 Jan 2007 01:32 AM
Still has an error, this time in a pop-up. Btw, I am able to invoke the wsdl, this is during "send request" when I try one of the service.

---------------------------
Stylus Studio 2007 XML Enterprise Suite
---------------------------
System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at System.Net.HttpWebRequest.CheckFinalStatus()
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.HttpWebRequest.GetResponse()
at WebServiceClient.Send(Void* pSoapRequest, Int32 nSize, IStylusSoapBuffer* pBuffer)
at __send(IWebServiceHost* pWebServiceHost, Void* pSoapRequest, Int32 nSize, IStylusSoapBuffer* pBuffer)
at send(IWebServiceHost* pWebServiceHost, Void* pSoapRequest, Int32 nSize, IStylusSoapBuffer* pBuffer)
---------------------------
OK
---------------------------


>
>Could you please try .NET
>client?
>
>http://www.stylusstudio.com/do
>cs/v2007/d_webservices24.html#
>wp355794
>
>Thank you
>Ivan Pedruzzi
>Stylus Studio Team

Postnext
Ivan PedruzziSubject: faultString: (401)Unauthorized with NTLM
Author: Ivan Pedruzzi
Date: 31 Jan 2007 08:35 AM
Hi Collin,

Could you please try to set user and password in the scenario dialog?

Thank you
Ivan Pedruzzi
Stylus Studio Team

Postnext
Collin NgSubject: faultString: (401)Unauthorized with NTLM
Author: Collin Ng
Date: 31 Jan 2007 08:40 PM
Hi,
What do I put for SOAPAction in the dialog?
I put usern/password and now I am getting this error:

---------------------------
Stylus Studio 2007 XML Enterprise Suite
---------------------------
System.Net.WebException: The remote server returned an error: (500) Internal Server Error.

at System.Net.HttpWebRequest.CheckFinalStatus()

at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)

at System.Net.HttpWebRequest.GetResponse()

at WebServiceClient.Send(Void* pSoapRequest, Int32 nSize, IStylusSoapBuffer* pBuffer)

at __send(IWebServiceHost* pWebServiceHost, Void* pSoapRequest, Int32 nSize, IStylusSoapBuffer* pBuffer)

at send(IWebServiceHost* pWebServiceHost, Void* pSoapRequest, Int32 nSize, IStylusSoapBuffer* pBuffer)
---------------------------
OK
---------------------------

Postnext
Ivan PedruzziSubject: faultString: (401)Unauthorized with NTLM
Author: Ivan Pedruzzi
Date: 01 Feb 2007 11:50 AM
Collin,

The SOAPAction should be automatically detected by Stylus Studio if is declared in the WSDL document.

Could you please post the WSDL document?

Thank you
Ivan Pedruzzi
Stylus Studio Team

Posttop
Collin NgSubject: faultString: (401)Unauthorized with NTLM
Author: Collin Ng
Date: 01 Feb 2007 10:25 PM
Hi, all the soapAction in the wsdl seems to be empty string "":

<wsdl:operation name="echo">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="echoRequest">
<wsdlsoap:body use="literal" />
</wsdl:input>
<wsdl:output name="echoResponse">
<wsdlsoap:body use="literal" />
</wsdl:output>
</wsdl:operation>

 
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.