Forum Discussion

UNIZETO_TECHNOL_2's avatar
UNIZETO_TECHNOL_2
Occasional Contributor
15 years ago

Host/port in "schemaLocation" attr in WSDL - .war on JBOSS

I have created .war file (MockService) using soapUI. Schema used in the project include the following:


...
<xs:import namespace="http://www.somesite.pl/dir/someschema" schemaLocation="../../dir/someschema.xsd"/>
...


After deployment on JBOSS 4.2.2 the request [tt:go3pqy45]http://someip:8080/dir/MyService?wsdl[/tt:go3pqy45] returns:


...
<xs:import namespace="http://www.somesite.pl/schema"
schemaLocation="/dir/MyService?WSDL&interface=MyServiceBinding&part=someschema.xsd"/>
...


which is correct, but I also need to include protocol, host IP and service port on the beginning of "schemaLocation".

The question is: how to configure .war generated by soapUI to return protocol, host IP and service port in "schemaLocation" attribute - for example


...
<xs:import namespace="http://www.somesite.pl/schema"
schemaLocation="http://someip:8080/dir/MyService?WSDL&interface=MyServiceBinding&part=someschema.xsd"/>
...

1 Reply

  • Hi,

    sorry, this isn't currently possible... please add a feature request to the corresponding forum board and we'll put it in the backlog!

    regards,

    /Ole
    eviware.com