3/4/08


Weblogic Service Bus service generation


Some unexpected behaviour was trailed when business Transport Typed Service generated. My EJB looks like:


@RemoteMethod
public String someMethod(String arg) {

return "Hello " + arg;
}
@RemoteMethod
public String someMethod2(String arg) throws MyException {
throw new MyException("ERR");
//return "Hello " + arg;
}


but if I generate business service by EJBClientJar of that EJB I do not find fault part in operation description for second method in the its WSDL. Moreover I do not find MyException type definition as well:

<s0:operation name="someMethod2">
<s2:operation soapAction="http://www.openuri.org/someMethod2
" style="document"/>
<s0:input>
<s2:body parts="parameters" use="literal"/>
</s0:input>
<s0:output>
<s2:body parts="parameters" use="literal"/>
</s0:output>
</s0:operation>


http://forums.bea.com/thread.jspa?threadID=300006140

No comments: