]
Thomas Heute commented on JBWS-2884:
------------------------------------
The only way I could make it work was by setting
to 0
in:
server/default/deployers/jbossws.deployer/META-INF/standard-jaxws-client-config.xml
I didn't figure out how to do that programmatically.
I looked at the method "createRemotingMetaData" in:
I was trying to set chunksize prior to the call to getServiceDescription in the method
getUnmanagedServiceDescription in:
JBoss WS cannot connect to a remote service with a 503 HTTP response
when SOAPUI can connect just fine...
---------------------------------------------------------------------------------------------------------
Key: JBWS-2884
URL:
https://jira.jboss.org/jira/browse/JBWS-2884
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-native-3.1.2
Reporter: Chris Laprun
Assignee: Jim Ma
Priority: Blocker
Fix For: jbossws-native-3.3.0
I get:
Caused by: org.jboss.ws.WSException: Invalid HTTP server response [503] - Service
Unavailable
at
org.jboss.ws.core.soap.SOAPMessageUnMarshallerHTTP.read(SOAPMessageUnMarshallerHTTP.java:75)
at
org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:570)
at
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:369)
at
org.jboss.remoting.transport.http.HTTPClientInvoker.makeInvocation(HTTPClientInvoker.java:231)
when attempting to connect to a remote webservice with JBoss WS but I can access it just
fine using SOAPUI.
The remote service is defined by:
http://portalstandards.oracle.com/portletapp/portlets?WSDL
I'm trying to access the getServiceDescription method.
SOAP body as generated by JBoss WS is:
<getServiceDescription
xmlns="urn:oasis:names:tc:wsrp:v1:types"><registrationContext
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:nil="true"/><desiredLocales>en-US</desiredLocales><desiredLocales>en</desiredLocales></getServiceDescription>
Requesting:
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:urn="urn:oasis:names:tc:wsrp:v1:types">
<soapenv:Header/>
<soapenv:Body>
<getServiceDescription
xmlns="urn:oasis:names:tc:wsrp:v1:types"><registrationContext
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:nil="true"/><desiredLocales>en-US</desiredLocales><desiredLocales>en</desiredLocales></getServiceDescription>
</soapenv:Body>
</soapenv:Envelope>
in SOAP UI results in the expected result:
<env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ns0="urn:oasis:names:tc:wsrp:v1:types">
<env:Body>
<ns0:getServiceDescriptionResponse>
<ns0:requiresRegistration>true</ns0:requiresRegistration>
<ns0:customModeDescriptions
itemName="urn:javax:portlet:mode:custom:edit_defaults">
<ns0:description xml:lang="en"
resourceName="urn:javax:portlet:mode:custom:edit_defaults">
<ns0:value>This mode signifies that the portlet should render a
screen to set the default values for the modifiable preferences that are typically changed
in the EDIT screen. Calling this mode requires that the user must have administrator
rights.</ns0:value>
</ns0:description>
</ns0:customModeDescriptions>
<ns0:customModeDescriptions
itemName="urn:javax:portlet:mode:custom:about">
<ns0:description xml:lang="en"
resourceName="urn:javax:portlet:mode:custom:about">
<ns0:value>This mode should be used by the portlet to display
information on the portlet's purpose, origin, version, etc.</ns0:value>
</ns0:description>
</ns0:customModeDescriptions>
</ns0:getServiceDescriptionResponse>
</env:Body>
</env:Envelope>
JBoss WS fails on with the above error.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: