« Whats the difference between OC4J standalone and an OC4J in the Oracle Application Server ? | Main | BPEL Processes not showing up in ESB Console ? »

Issue with imported WSDLs in Registering a Service in OWSM gateway

Today, I was running into an interesting issue while registering services in OWSM.


Lets say you are registering a service with the OWSM gateway. The WSDL of the service might import other WSDLs. If the WSDLs are imported using a relative location, things dont seem to work [registration would go through]- this is because OWSM does not seem to support virtualizing of imported WSDLs at a relative location. [Note that it does support virtualizing of imported XSDs.]


i.e.

<definitions>
  ...
  <import namespace=www.po.com location="../po.wsdl"/>
  ...
</definitions>

would not work.


What you could do instead is to host this WSDL through Apache, and then refer to the imported WSDL as an absolute URL


for e.g.

<definitions>
  ....
  <import namespace=www.po.com location="
http://myserver.com:7777/wsdls/po.wsdl"/>
  ....
</definitions>

I invite comments from the readers on any other interesting alternatives they have taken to alleviate this issue.


 


 


 


 

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About This Entry

This page contains a single entry from the blog posted on August 8, 2007 7:48 PM.

The previous post in this blog was Whats the difference between OC4J standalone and an OC4J in the Oracle Application Server ?.

The next post in this blog is BPEL Processes not showing up in ESB Console ?.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type and Oracle