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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> - Stylus Studio - Registrar en o... (1)
-> + Stylus Studio - Registrar en o... (2)
-> + Can a pipeline send a file by ... (2)
-> + After Updateing WIN10 to WIN11... (12)
-> + Where do I add the custom java... (3)
-> + Where is the Diagram tab? (5)
-> + Applying XSLT to Word DOCX/XML (2)
-> - CSV conversion via ConvertToXM... (1)
-> + Text symbols in SS not same as... (4)
-> + Exposing xquery as webservice ... (6)
-> + Syntax Identifier (2)
-> + Saving a Converted XML as an X... (5)
-> + Output document cannot be pars... (4)
-> - Archiving output from conversi... (1)
-> + EDIFACT guideline from Stylus ... (3)
-> + CSV file putting all the data ... (5)
-> + Can't install Home version 64b... (5)
-> + presale - Can I covers this sc... (5)
-> + Problem with UNB (5)
-> + Splitting EDIFACT files pipeli... (4)
-- [1-20] [21-40] [41-60] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2016)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
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>

   
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.