[jboss-user] [JBossWS] - Re: Problem consuming .net webservice with jbossws-3.0.1-nat
claudio_br
do-not-reply at jboss.com
Wed Apr 16 13:21:03 EDT 2008
With wireshark I got:
GET /webservices/v3/Authentication/Authentication.asmx?WSDL HTTP/1.1
|
| User-Agent: Java/1.5.0_06
|
| Host: webservices.maplink2.com.br
|
| Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
|
| Connection: keep-alive
|
| Content-type: application/x-www-form-urlencoded
|
|
|
| HTTP/1.0 200 OK
|
| Date: Wed, 16 Apr 2008 17:08:56 GMT
|
| Server: Microsoft-IIS/6.0
|
| X-Powered-By: ASP.NET
|
| X-AspNet-Version: 2.0.50727
|
| Cache-Control: private, max-age=0
|
| Content-Type: text/xml; charset=utf-8
|
| Content-Length: 3399
|
| X-Cache: MISS from fw0-sp.buscape-local.com.br
|
| Via: 1.0 fw0-sp.buscape-local.com.br:3128 (squid/2.6.STABLE16)
|
| Connection: keep-alive
|
|
|
| <?xml version="1.0" encoding="utf-8"?>
|
| <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://webservices.maplink2.com.br" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://webservices.maplink2.com.br" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
| <wsdl:types>
|
| <s:schema elementFormDefault="qualified" targetNamespace="http://webservices.maplink2.com.br">
|
| <s:element name="getToken">
|
| <s:complexType>
|
| <s:sequence>
|
| <s:element minOccurs="0" maxOccurs="1" name="user" type="s:string" />
|
| <s:element minOccurs="0" maxOccurs="1" name="pwd" type="s:string" />
|
| </s:sequence>
|
| </s:complexType>
|
| </s:element>
|
| <s:element name="getTokenResponse">
|
| <s:complexType>
|
| <s:sequence>
|
| <s:element minOccurs="0" maxOccurs="1" name="getTokenResult" type="s:string" />
|
| </s:sequence>
|
| </s:complexType>
|
| </s:element>
|
| </s:schema>
|
| </wsdl:types>
|
| <wsdl:message name="getTokenSoapIn">
|
| <wsdl:part name="parameters" element="tns:getToken" />
|
| </wsdl:message>
|
| <wsdl:message name="getTokenSoapOut">
|
| <wsdl:part name="parameters" element="tns:getTokenResponse" />
|
| </wsdl:message>
|
| <wsdl:portType name="AuthenticationSoap">
|
| <wsdl:operation name="getToken">
|
| <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Cria token para autentica....o do usu..rio</wsdl:documentation>
|
| <wsdl:input message="tns:getTokenSoapIn" />
|
| <wsdl:output message="tns:getTokenSoapOut" />
|
| </wsdl:operation>
|
| </wsdl:portType>
|
| <wsdl:binding name="AuthenticationSoap" type="tns:AuthenticationSoap">
|
| <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
| <wsdl:operation name="getToken">
|
| <soap:operation soapAction="http://webservices.maplink2.com.br/getToken" style="document" />
|
| <wsdl:input>
|
| <soap:body use="literal" />
|
| </wsdl:input>
|
| <wsdl:output>
|
| <soap:body use="literal" />
|
| </wsdl:output>
|
| </wsdl:operation>
|
| </wsdl:binding>
|
| <wsdl:binding name="AuthenticationSoap12" type="tns:AuthenticationSoap">
|
| <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
| <wsdl:operation name="getToken">
|
| <soap12:operation soapAction="http://webservices.maplink2.com.br/getToken" style="document" />
|
| <wsdl:input>
|
| <soap12:body use="literal" />
|
| </wsdl:input>
|
| <wsdl:output>
|
| <soap12:body use="literal" />
|
| </wsdl:output>
|
| </wsdl:operation>
|
| </wsdl:binding>
|
| <wsdl:service name="Authentication">
|
| <wsdl:port name="AuthenticationSoap" binding="tns:AuthenticationSoap">
|
| <soap:address location="http://webservices.maplink2.com.br/webservices/v3/Authentication/Authentication.asmx" />
|
| </wsdl:port>
|
| <wsdl:port name="AuthenticationSoap12" binding="tns:AuthenticationSoap12">
|
| <soap12:address location="http://webservices.maplink2.com.br/webservices/v3/Authentication/Authentication.asmx" />
|
| </wsdl:port>
|
| </wsdl:service>
|
| </wsdl:definitions>GET /webservices/v3/Authentication/Authentication.asmx?WSDL HTTP/1.1
|
| User-Agent: Java/1.5.0_06
|
| Host: webservices.maplink2.com.br
|
| Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
|
| Connection: keep-alive
|
| Content-type: application/x-www-form-urlencoded
|
|
|
| HTTP/1.0 200 OK
|
| Date: Wed, 16 Apr 2008 17:08:56 GMT
|
| Server: Microsoft-IIS/6.0
|
| X-Powered-By: ASP.NET
|
| X-AspNet-Version: 2.0.50727
|
| Cache-Control: private, max-age=0
|
| Content-Type: text/xml; charset=utf-8
|
| Content-Length: 3399
|
| X-Cache: MISS from fw0-sp.buscape-local.com.br
|
| Via: 1.0 fw0-sp.buscape-local.com.br:3128 (squid/2.6.STABLE16)
|
| Connection: keep-alive
|
|
|
| <?xml version="1.0" encoding="utf-8"?>
|
| <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://webservices.maplink2.com.br" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://webservices.maplink2.com.br" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
| <wsdl:types>
|
| <s:schema elementFormDefault="qualified" targetNamespace="http://webservices.maplink2.com.br">
|
| <s:element name="getToken">
|
| <s:complexType>
|
| <s:sequence>
|
| <s:element minOccurs="0" maxOccurs="1" name="user" type="s:string" />
|
| <s:element minOccurs="0" maxOccurs="1" name="pwd" type="s:string" />
|
| </s:sequence>
|
| </s:complexType>
|
| </s:element>
|
| <s:element name="getTokenResponse">
|
| <s:complexType>
|
| <s:sequence>
|
| <s:element minOccurs="0" maxOccurs="1" name="getTokenResult" type="s:string" />
|
| </s:sequence>
|
| </s:complexType>
|
| </s:element>
|
| </s:schema>
|
| </wsdl:types>
|
| <wsdl:message name="getTokenSoapIn">
|
| <wsdl:part name="parameters" element="tns:getToken" />
|
| </wsdl:message>
|
| <wsdl:message name="getTokenSoapOut">
|
| <wsdl:part name="parameters" element="tns:getTokenResponse" />
|
| </wsdl:message>
|
| <wsdl:portType name="AuthenticationSoap">
|
| <wsdl:operation name="getToken">
|
| <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Cria token para autentica....o do usu..rio</wsdl:documentation>
|
| <wsdl:input message="tns:getTokenSoapIn" />
|
| <wsdl:output message="tns:getTokenSoapOut" />
|
| </wsdl:operation>
|
| </wsdl:portType>
|
| <wsdl:binding name="AuthenticationSoap" type="tns:AuthenticationSoap">
|
| <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
| <wsdl:operation name="getToken">
|
| <soap:operation soapAction="http://webservices.maplink2.com.br/getToken" style="document" />
|
| <wsdl:input>
|
| <soap:body use="literal" />
|
| </wsdl:input>
|
| <wsdl:output>
|
| <soap:body use="literal" />
|
| </wsdl:output>
|
| </wsdl:operation>
|
| </wsdl:binding>
|
| <wsdl:binding name="AuthenticationSoap12" type="tns:AuthenticationSoap">
|
| <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
| <wsdl:operation name="getToken">
|
| <soap12:operation soapAction="http://webservices.maplink2.com.br/getToken" style="document" />
|
| <wsdl:input>
|
| <soap12:body use="literal" />
|
| </wsdl:input>
|
| <wsdl:output>
|
| <soap12:body use="literal" />
|
| </wsdl:output>
|
| </wsdl:operation>
|
| </wsdl:binding>
|
| <wsdl:service name="Authentication">
|
| <wsdl:port name="AuthenticationSoap" binding="tns:AuthenticationSoap">
|
| <soap:address location="http://webservices.maplink2.com.br/webservices/v3/Authentication/Authentication.asmx" />
|
| </wsdl:port>
|
| <wsdl:port name="AuthenticationSoap12" binding="tns:AuthenticationSoap12">
|
| <soap12:address location="http://webservices.maplink2.com.br/webservices/v3/Authentication/Authentication.asmx" />
|
| </wsdl:port>
|
| </wsdl:service>
|
| </wsdl:definitions>POST /webservices/v3/Authentication/Authentication.asmx HTTP/1.1
|
| SOAPAction: "http://webservices.maplink2.com.br/getToken"
|
| Content-Type: application/soap+xml; charset=UTF-8
|
| JBoss-Remoting-Version: 22
|
| User-Agent: JBossRemoting - 2.2.2.SP1 (Bluto)
|
| Host: webservices.maplink2.com.br
|
| Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
|
| Connection: keep-alive
|
| Transfer-Encoding: chunked
|
|
|
| HTTP/1.0 501 Not Implemented
|
| Server: squid/2.6.STABLE16
|
| Date: Thu, 17 Apr 2008 17:02:56 GMT
|
| Content-Type: text/html
|
| Content-Length: 1185
|
| Expires: Thu, 17 Apr 2008 17:02:56 GMT
|
| X-Squid-Error: ERR_UNSUP_REQ 0
|
| X-Cache: MISS from fw0-sp.buscape-local.com.br
|
| Via: 1.0 fw0-sp.buscape-local.com.br:3128 (squid/2.6.STABLE16)
|
| Connection: close
|
|
|
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
| <HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
| <TITLE>ERROR: The requested URL could not be retrieved</TITLE>
| <STYLE type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
| </HEAD><BODY>
| <H1>ERROR</H1>
| <H2>The requested URL could not be retrieved</H2>
| <HR noshade size="1px">
| <P>
| While trying to retrieve the URL:
| <A HREF="http://webservices.maplink2.com.br/webservices/v3/Authentication/Authentication.asmx">http://webservices.maplink2.com.br/webservices/v3/Authentication/Authentication.asmx</A>
| <P>
| The following error was encountered:
| <UL>
| <LI>
| <STRONG>
| Unsupported Request Method and Protocol
| </STRONG>
| </UL>
|
| <P>
| Squid does not support all request methods for all access protocols.
| For example, you can not POST a Gopher request.
| <P>Your cache administrator is <A HREF="mailto:webmaster">webmaster</A>.
|
| <BR clear="all">
| <HR noshade size="1px">
| <ADDRESS>
| Generated Thu, 17 Apr 2008 17:02:56 GMT by fw0-sp.buscape-local.com.br (squid/2.6.STABLE16)
| </ADDRESS>
| </BODY></HTML>
| e3
|
| <env:Envelope xmlns:env='http://www.w3.org/2003/05/soap-envelope'><env:Header></env:Header><env:Body><getToken xmlns="http://webservices.maplink2.com.br"><user>user</user><pwd>password</pwd></getToken></env:Body></env:Envelope>
|
| 0
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144584#4144584
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144584
More information about the jboss-user
mailing list