[jboss-dev-forums] [JBoss ESB Development] - Re: SOAPProxy+AS5: INVM contract unavailable w/classpath URI

dward do-not-reply at jboss.com
Wed Dec 9 15:03:07 EST 2009


It doesn't look like the ContractProviderLifecycleResource can be used to help in this circumstance.

I question the usefulness of providing a wsdl contract for non-HTTP addresses at this time.  May I suggest that for now (ie: the 4.x ESB stream, pre-5.x), we handle this case by not dumping an exception, but instead give the user the message:

'classpath:///helloworld.wsdl' unavailable: WSDL address URI format unsupported by contract application.

only IF they click on a contract link whose contract was loaded with a "classpath://" uri AND they are not using the HttpGateway?  (The HTTP contract via classpath would still be available in that case, thanks to ContractProviderLifecycleResource.)

I made this change locally, but won't commit it to JBESB_4_7_CP until I hear that this is the approach we want to take.  Of course I'm all ears too if someone has another option.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269870#4269870

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269870



More information about the jboss-dev-forums mailing list