Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

changing the schemalocation in WSDL

saeed zamaniDec 22 2013 — edited Dec 22 2013

Hello everyone,

I deployed a SOA composite application. The corresponding WSDL of the exposed service consist an schema location like this:

<xsd:schema><xsd:import namespace="http://www.asre_xxx.com" schemaLocation="http://ASR-jav:83/soa-infra/services/default/EServiceComposite/EWebService?XSD=xsd/EServiceInputParams.xsd"/></xsd:schema>

but when i tried to deliver the service to external partner they need our valid IP to use the WSDL and its operations, and they need somthing like this:

<xsd:schema><xsd:import namespace="http://www.asre_xxx.com" schemaLocation="http://85.185.146.xxx:83/soa-infra/services/default/EServiceComposite/EWebService?XSD=xsd/EServiceInputParams.xsd"/></xsd:schema>

how and where can i change the schema location of a service?

i tried to change the config file (domainname/config/config.xml) and replace the computer name (ASR-jav) whit ip address (85.185.146.xxx). the schema location was changed this time as desired but this time the problem was that the operations did not work. i faced the following error:

Either the WSDL URL is invalid or the WSDL file is not valid or incorrect. - WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "http://85.185.146.xxx:83/soa-infra/services/default/EGovernmentServiceComposite/EGovernmentWebService?WSDL", caused by: java.net.ConnectException. : java.net.ConnectException: Connection timed out: connect

i put the IP address name in the hosts file but nothing has changed.

Can anyone please help me with this problem? how can i change the schema locations?

thank you very much indeed

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 19 2014
Added on Dec 22 2013
1 comment
1,049 views