[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 12:27:52 EDT 2008
I added the log4j with DEBUG level:
16/04/2008 13:21:03 org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder - START buildMetaData: [service={http://webservices.maplink2.com.br}Authentication]
| 16/04/2008 13:21:03 org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory - parse: http://webservices.maplink2.com.br/webservices/v3/Authentication/Authentication.asmx?WSDL
| 16/04/2008 13:21:04 org.jboss.wsf.framework.DefaultSPIProvider - provide SPI 'class org.jboss.wsf.spi.management.ServerConfigFactory'
| 16/04/2008 13:21:04 org.jboss.wsf.framework.DefaultSPIProvider - class org.jboss.wsf.spi.management.ServerConfigFactory Implementation: org.jboss.wsf.framework.management.ServerConfigFactoryImpl at 1a06e38
| 16/04/2008 13:21:04 org.jboss.ws.tools.JavaToXSD - Load schema: http://webservices.maplink2.com.br=file:/C:/DOCUME~1/claudior/CONFIG~1/Temp/JBossWS_webservices.maplink2.com.br52730.xsd
| 16/04/2008 13:21:04 org.jboss.ws.core.utils.JBossWSEntityResolver - resolveEntity: [pub=null,sysid=file:/C:/DOCUME~1/claudior/CONFIG~1/Temp/JBossWS_webservices.maplink2.com.br52730.xsd]
| 16/04/2008 13:21:04 org.jboss.ws.core.utils.JBossWSEntityResolver - resolveEntity: [pub=http://schemas.xmlsoap.org/soap/encoding/,sysid=null]
| 16/04/2008 13:21:05 org.jboss.ws.metadata.wsdl.WSDLDefinitions - Multiple WSDL bindings referrence the same interface: {http://webservices.maplink2.com.br}AuthenticationSoap
| 16/04/2008 13:21:05 org.jboss.ws.metadata.wsdl.WSDLDefinitions - Multiple WSDL bindings referrence the same interface: {http://webservices.maplink2.com.br}AuthenticationSoap
| 16/04/2008 13:21:05 org.jboss.ws.metadata.wsdl.WSDLDefinitions - Multiple WSDL bindings referrence the same interface: {http://webservices.maplink2.com.br}AuthenticationSoap
| 16/04/2008 13:21:05 org.jboss.ws.metadata.wsdl.WSDLDefinitions - Multiple WSDL bindings referrence the same interface: {http://webservices.maplink2.com.br}AuthenticationSoap
| 16/04/2008 13:21:05 org.jboss.ws.metadata.wsdl.WSDLDefinitions - Multiple WSDL bindings referrence the same interface: {http://webservices.maplink2.com.br}AuthenticationSoap
| 16/04/2008 13:21:05 org.jboss.ws.metadata.wsdl.WSDLDefinitions - Multiple WSDL bindings referrence the same interface: {http://webservices.maplink2.com.br}AuthenticationSoap
| 16/04/2008 13:21:05 org.jboss.ws.metadata.umdm.EndpointMetaData - Using default parameter style: WRAPPED
| 16/04/2008 13:21:05 org.jboss.ws.metadata.umdm.EndpointMetaData - Using default parameter style: WRAPPED
| 16/04/2008 13:21:05 org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder - END buildMetaData:
| UnifiedMetaData:
| implementation: jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
| deploymentName: null
| securityDomain: null
|
| ServiceMetaData:
| qname={http://webservices.maplink2.com.br}Authentication
| refName=null
| wsdName=null
| wsdlFile=null
| wsdlLocation=http://webservices.maplink2.com.br/webservices/v3/Authentication/Authentication.asmx?WSDL
| jaxrpcMapping=null
| publishLocation=null
| securityConfig=null
| properties=null
|
| TypesMetaData:
| <schema targetNamespace='http://webservices.maplink2.com.br' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://webservices.maplink2.com.br' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
| <element name='getToken'>
| <complexType>
| <sequence>
| <element maxOccurs='1' minOccurs='0' name='user' type='string'/>
| <element maxOccurs='1' minOccurs='0' name='pwd' type='string'/>
| </sequence>
| </complexType>
| </element>
| <element name='getTokenResponse'>
| <complexType>
| <sequence>
| <element maxOccurs='1' minOccurs='0' name='getTokenResult' type='string'/>
| </sequence>
| </complexType>
| </element>
| </schema>
|
|
| ClientEndpointMetaData:
| type=JAXWS
| qname={http://webservices.maplink2.com.br}AuthenticationSoap
| address=http://webservices.maplink2.com.br/webservices/v3/Authentication/Authentication.asmx
| binding=http://www.w3.org/2003/05/soap/bindings/HTTP/
| seiName=null
| configFile=META-INF/standard-jaxws-client-config.xml
| configName=Standard Client
| authMethod=null
| properties={}
|
| OperationMetaData:
| qname={http://webservices.maplink2.com.br}getToken
| javaName={http://webservices.maplink2.com.br}getToken
| style=document/literal/WRAPPED
| oneWay=false
| soapAction=http://webservices.maplink2.com.br/getToken
| ClientEndpointMetaData:
| type=JAXWS
| qname={http://webservices.maplink2.com.br}AuthenticationSoap12
| address=http://webservices.maplink2.com.br/webservices/v3/Authentication/Authentication.asmx
| binding=http://www.w3.org/2003/05/soap/bindings/HTTP/
| seiName=null
| configFile=META-INF/standard-jaxws-client-config.xml
| configName=Standard Client
| authMethod=null
| properties={}
|
| OperationMetaData:
| qname={http://webservices.maplink2.com.br}getToken
| javaName={http://webservices.maplink2.com.br}getToken
| style=document/literal/WRAPPED
| oneWay=false
| soapAction=http://webservices.maplink2.com.br/getToken
| 16/04/2008 13:21:05 org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder - START: rebuildMetaData
| 16/04/2008 13:21:05 org.jboss.ws.metadata.umdm.EndpointMetaData - setParameterStyle: null
| 16/04/2008 13:21:05 org.jboss.ws.metadata.umdm.EndpointMetaData - Create new config [name=Standard Client,file=META-INF/standard-jaxws-client-config.xml]
| 16/04/2008 13:21:05 org.jboss.ws.metadata.config.JBossWSConfigFactory - getConfig: [name=Standard Client,url=META-INF/standard-jaxws-client-config.xml]
| 16/04/2008 13:21:05 org.jboss.ws.metadata.config.JBossWSConfigFactory - parse: jar:file:/C:/eclipse/workspace/GeradorWsClient204/lib/jbossws-client.jar!/META-INF/standard-jaxws-client-config.xml
| 16/04/2008 13:21:05 org.jboss.ws.metadata.umdm.EndpointMetaData - Configure EndpointMetaData
| 16/04/2008 13:21:05 org.jboss.ws.metadata.umdm.EndpointMetaData - Added 0 PRE handlers
| 16/04/2008 13:21:05 org.jboss.ws.metadata.umdm.EndpointMetaData - Added 0 ENDPOINT handlers
| 16/04/2008 13:21:05 org.jboss.ws.metadata.umdm.EndpointMetaData - Added 0 POST handlers
| 16/04/2008 13:21:05 org.jboss.ws.metadata.umdm.EndpointMetaData - setParameterStyle: WRAPPED
| 16/04/2008 13:21:05 org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder - JAXBContext [types=[class ws.maplink.authentication.GetToken, class ws.maplink.authentication.GetTokenResponse],tns=http://webservices.maplink2.com.br]
| 16/04/2008 13:21:06 org.jboss.ws.metadata.umdm.OperationMetaData - Found best matching java method: public abstract java.lang.String ws.maplink.authentication.AuthenticationSoap.getToken(java.lang.String,java.lang.String)
| 16/04/2008 13:21:06 org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder - END: rebuildMetaData
|
| ServiceMetaData:
| qname={http://webservices.maplink2.com.br}Authentication
| refName=null
| wsdName=null
| wsdlFile=null
| wsdlLocation=http://webservices.maplink2.com.br/webservices/v3/Authentication/Authentication.asmx?WSDL
| jaxrpcMapping=null
| publishLocation=null
| securityConfig=null
| properties=null
|
| TypesMetaData:
| [complexType={http://webservices.maplink2.com.br}getToken,javaType=ws.maplink.authentication.GetToken]
| [complexType={http://webservices.maplink2.com.br}getTokenResponse,javaType=ws.maplink.authentication.GetTokenResponse]
| <schema targetNamespace='http://webservices.maplink2.com.br' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://webservices.maplink2.com.br' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
| <element name='getToken'>
| <complexType>
| <sequence>
| <element maxOccurs='1' minOccurs='0' name='user' type='string'/>
| <element maxOccurs='1' minOccurs='0' name='pwd' type='string'/>
| </sequence>
| </complexType>
| </element>
| <element name='getTokenResponse'>
| <complexType>
| <sequence>
| <element maxOccurs='1' minOccurs='0' name='getTokenResult' type='string'/>
| </sequence>
| </complexType>
| </element>
| </schema>
|
|
| ClientEndpointMetaData:
| type=JAXWS
| qname={http://webservices.maplink2.com.br}AuthenticationSoap
| address=http://webservices.maplink2.com.br/webservices/v3/Authentication/Authentication.asmx
| binding=http://www.w3.org/2003/05/soap/bindings/HTTP/
| seiName=ws.maplink.authentication.AuthenticationSoap
| configFile=META-INF/standard-jaxws-client-config.xml
| configName=Standard Client
| authMethod=null
| properties={}
|
| OperationMetaData:
| qname={http://webservices.maplink2.com.br}getToken
| javaName=getToken
| style=document/literal/WRAPPED
| oneWay=false
| soapAction=http://webservices.maplink2.com.br/getToken
| ParameterMetaData:
| xmlName={http://webservices.maplink2.com.br}getToken
| partName=getToken
| xmlType={http://webservices.maplink2.com.br}getToken
| javaType=ws.maplink.authentication.GetToken
| mode=IN
| inHeader=false
| index=0
| wrappedParameters=[[name = {http://webservices.maplink2.com.br}user, type = java.lang.String, typeArgs = null, variable = user, index = 0], [name = {http://webservices.maplink2.com.br}pwd, type = java.lang.String, typeArgs = null, variable = pwd, index = 1]]
| ReturnMetaData:
| xmlName={http://webservices.maplink2.com.br}getTokenResponse
| partName=getTokenResponse
| xmlType={http://webservices.maplink2.com.br}getTokenResponse
| javaType=ws.maplink.authentication.GetTokenResponse
| mode=OUT
| inHeader=false
| index=-1
| wrappedParameters=[[name = {http://webservices.maplink2.com.br}getTokenResult, type = java.lang.String, typeArgs = null, variable = getTokenResult, index = -1]]
| ClientEndpointMetaData:
| type=JAXWS
| qname={http://webservices.maplink2.com.br}AuthenticationSoap12
| address=http://webservices.maplink2.com.br/webservices/v3/Authentication/Authentication.asmx
| binding=http://www.w3.org/2003/05/soap/bindings/HTTP/
| seiName=null
| configFile=META-INF/standard-jaxws-client-config.xml
| configName=Standard Client
| authMethod=null
| properties={}
|
| OperationMetaData:
| qname={http://webservices.maplink2.com.br}getToken
| javaName={http://webservices.maplink2.com.br}getToken
| style=document/literal/WRAPPED
| oneWay=false
| soapAction=http://webservices.maplink2.com.br/getToken
| 16/04/2008 13:21:06 org.jboss.ws.metadata.umdm.EndpointMetaData - Configure SOAPBinding
| 16/04/2008 13:21:06 org.jboss.ws.core.jaxws.handler.HandlerResolverImpl - initHandlerChain: PRE
| 16/04/2008 13:21:06 org.jboss.ws.core.jaxws.handler.HandlerResolverImpl - initHandlerChain: ENDPOINT
| 16/04/2008 13:21:06 org.jboss.ws.core.jaxws.handler.HandlerResolverImpl - initHandlerChain: POST
| 16/04/2008 13:21:06 org.jboss.ws.core.jaxws.handler.HandlerResolverImpl - getHandlerChain: [type=PRE,info=[service={http://webservices.maplink2.com.br}Authentication,port={http://webservices.maplink2.com.br}AuthenticationSoap,binding=http://www.w3.org/2003/05/soap/bindings/HTTP/]]
| 16/04/2008 13:21:06 org.jboss.ws.core.jaxws.handler.HandlerResolverImpl - getHandlerChain: [type=POST,info=[service={http://webservices.maplink2.com.br}Authentication,port={http://webservices.maplink2.com.br}AuthenticationSoap,binding=http://www.w3.org/2003/05/soap/bindings/HTTP/]]
| 16/04/2008 13:21:06 org.jboss.ws.core.jaxws.handler.HandlerResolverImpl - getHandlerChain: [type=ENDPOINT,info=[service={http://webservices.maplink2.com.br}Authentication,port={http://webservices.maplink2.com.br}AuthenticationSoap,binding=http://www.w3.org/2003/05/soap/bindings/HTTP/]]
| 16/04/2008 13:21:06 org.jboss.ws.core.jaxws.binding.BindingImpl - setHandlerChain: []
| 16/04/2008 13:21:06 org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl - No port configuration for: {http://webservices.maplink2.com.br}AuthenticationSoap
| 16/04/2008 13:21:06 org.jboss.ws.core.soap.MessageContextAssociation - pushMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS at bc5596 (Thread main)
| 16/04/2008 13:21:06 org.jboss.ws.core.jaxrpc.ParameterWrapping - wrapRequestParameters: ws.maplink.authentication.GetToken
| 16/04/2008 13:21:06 org.jboss.ws.core.EndpointInvocation - setRequestParamValue: [name={http://webservices.maplink2.com.br}getToken,value=ws.maplink.authentication.GetToken]
| 16/04/2008 13:21:06 org.jboss.ws.core.jaxws.binding.SOAP12BindingJAXWS - bindRequestMessage: {http://webservices.maplink2.com.br}getToken
| 16/04/2008 13:21:06 org.jboss.ws.core.EndpointInvocation - getRequestParamValue: {http://webservices.maplink2.com.br}getToken
| 16/04/2008 13:21:06 org.jboss.ws.core.EndpointInvocation - transformPayloadValue: ws.maplink.authentication.GetToken -> ws.maplink.authentication.GetToken
| 16/04/2008 13:21:06 org.jboss.ws.core.jaxws.handler.HandlerChainExecutor - Create a handler executor: []
| 16/04/2008 13:21:06 org.jboss.ws.core.jaxws.handler.HandlerChainExecutor - Create a handler executor: []
| 16/04/2008 13:21:06 org.jboss.ws.core.jaxws.handler.HandlerChainExecutor - Create a handler executor: []
| 16/04/2008 13:21:06 org.jboss.ws.core.client.HTTPRemotingConnection - Get locator for: [addr=http://webservices.maplink2.com.br/webservices/v3/Authentication/Authentication.asmx,props={javax.xml.ws.service.endpoint.address=http://webservices.maplink2.com.br/webservices/v3/Authentication/Authentication.asmx}]
| 16/04/2008 13:21:06 org.jboss.remoting.MicroRemoteClientInvoker - org.jboss.remoting.transport.http.HTTPClientInvoker at 6833f2 connecting
| 16/04/2008 13:21:06 org.jboss.remoting.MicroRemoteClientInvoker - org.jboss.remoting.transport.http.HTTPClientInvoker at 6833f2 connected
| 16/04/2008 13:21:06 org.jboss.ws.core.client.HTTPRemotingConnection - Remoting metadata: {HEADER={SOAPAction="http://webservices.maplink2.com.br/getToken", Content-Type=application/soap+xml; charset=UTF-8}, NoThrowOnError=true}
| 16/04/2008 13:21:06 org.jboss.remoting.transport.http.HTTPClientInvoker - Setting request header with SOAPAction : "http://webservices.maplink2.com.br/getToken"
| 16/04/2008 13:21:06 org.jboss.remoting.transport.http.HTTPClientInvoker - Setting request header with Content-Type : application/soap+xml; charset=UTF-8
| 16/04/2008 13:21:06 org.jboss.ws.core.soap.SOAPContentElement - -----------------------------------
| 16/04/2008 13:21:06 org.jboss.ws.core.soap.SOAPContentElement - Transitioning from OBJECT_VALID to XML_VALID
| 16/04/2008 13:21:06 org.jboss.ws.core.soap.ObjectContent - getXMLFragment from Object [xmlType={http://webservices.maplink2.com.br}getToken,javaType=class ws.maplink.authentication.GetToken]
| 16/04/2008 13:21:06 org.jboss.ws.core.jaxws.JAXBSerializer - serialize: [xmlName={http://webservices.maplink2.com.br}getToken,xmlType={http://webservices.maplink2.com.br}getToken]
| 16/04/2008 13:21:08 org.jboss.ws.core.jaxws.JAXBSerializer - serialized: <getToken xmlns="http://webservices.maplink2.com.br"><user>user</user><pwd>password</pwd></getToken>
| 16/04/2008 13:21:08 org.jboss.ws.core.soap.ObjectContent - xmlFragment: [source=<getToken xmlns="http://webservices.maplink2.com.br"><user>user</user><pwd>password</pwd></getToken>]
| 16/04/2008 13:21:08 org.jboss.ws.core.soap.SOAPContentElement - -----------------------------------
| 16/04/2008 13:21:08 org.jboss.remoting.transport.http.HTTPClientInvoker - Error invoking http client invoker.
| org.jboss.ws.WSException: Invalid HTTP server response [501] - Not Implemented
| at org.jboss.ws.core.soap.SOAPMessageUnMarshallerHTTP.read(SOAPMessageUnMarshallerHTTP.java:77)
| at org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:473)
| at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:305)
| at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:135)
| at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
| at org.jboss.remoting.Client.invoke(Client.java:1634)
| at org.jboss.remoting.Client.invoke(Client.java:548)
| at org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:233)
| at org.jboss.ws.core.client.SOAPProtocolConnectionHTTP.invoke(SOAPProtocolConnectionHTTP.java:73)
| at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:339)
| at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:302)
| at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:172)
| at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:152)
| at $Proxy15.getToken(Unknown Source)
| at teste.Teste.getXY(Teste.java:26)
| at teste.Teste.main(Teste.java:73)
| 16/04/2008 13:21:08 org.jboss.ws.core.jaxws.handler.MessageContextJAXWS - Begin response processing
| 16/04/2008 13:21:08 org.jboss.ws.core.soap.MessageContextAssociation - popMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS at bc5596 (Thread main)
| 16/04/2008 13:21:08 org.jboss.ws.core.soap.MessageContextAssociation - pushMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS at 8f2ca6 (Thread main)
| 16/04/2008 13:21:08 org.jboss.ws.core.jaxws.handler.HandlerChainExecutor - close
| 16/04/2008 13:21:08 org.jboss.ws.core.jaxws.handler.HandlerChainExecutor - close
| 16/04/2008 13:21:08 org.jboss.ws.core.jaxws.handler.HandlerChainExecutor - close
| 16/04/2008 13:21:08 org.jboss.ws.core.soap.MessageContextAssociation - popMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS at 8f2ca6 (Thread main)
Can you see the problem?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144561#4144561
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144561
More information about the jboss-user
mailing list