[jbossws-issues] [JBoss JIRA] Created: (JBWS-1939) URL port information of soap:address is different from import schemaLocation URL
Suresh Srinivas (JIRA)
jira-events at lists.jboss.org
Wed Dec 12 18:20:51 EST 2007
URL port information of soap:address is different from import schemaLocation URL
--------------------------------------------------------------------------------
Key: JBWS-1939
URL: http://jira.jboss.com/jira/browse/JBWS-1939
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: jbossws-jaxws
Affects Versions: jbossws-2.0.0
Environment: SunOS serrano 5.8 Generic_108528-18 sun4u sparc SUNW,Ultra-60
Reporter: Suresh Srinivas
Setup info 1:
The setup has in deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml the following lines commented:
<property name="webServiceHost">${jboss.bind.address}</property>
<property name="webServicePort">8080</property>
This should result in the protocol, port and the host being picked up from requesters URL.
Setup info 2:
I have JBoss server setup behind apache server. Apache web server forwards request to the JBoss Server using mod_jk. The host ip for the apache server is 38.187.114.136. The host ip for the JBoss server is 38.187.114.238. The JBoss web services are bound to port 8180.
Observer behavior:
When I access the WSDL using http:/38.187.114.136/application/SessionService?wsdl the WSDL I received has the following information:
<definitions name="InitMethod" targetNamespace="http://com.foo.service/callcontrol">
<types>
<xsd:schema>
<xsd:import namespace="http://com.foo.service/callcontrol/types" schemaLocation="http://38.187.114.136/service/SessionService?wsdl&resource=Session.xsd"/>
</xsd:schema>
.....
.....
.....
<port binding="ns2:SessionServiceBinding" name="SessionServicePort">
<soap:address location="http://38.187.114.136:8180/service/SessionService"/>
</port>
</service>
</definitions>
Problem description:
- schemaLocation is right where it does not indicate port "http://38.187.114.136/service/SessionService?wsdl&resource=Session.xsd"
- soap:address location does not match and it gives the port where the service is running - "http://38.187.114.136:8180/service/SessionService"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list