You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by ma...@students.math.unifi.it on 2007/07/17 16:58:04 UTC

AXIS2 Error: Can't find resource for bundle org.apache.axis2.i18n.ProjectResourceBundle, key outboundNoAction

Hello All,

I have this scenario: a client sends a request (a SAML authentication  
assertion).
The Web Service Provider unpacks this assertion and createas another
message (a SAMLP authorization assertion) for sending to an attribute
authority. So, I've to send a simple soap message from a service provider to
another.

In the webservice "client" (who makes the request) I've this:

<operation name="XDSbDocReg">
         <messageReceiver  
class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
     </operation>

the same in the service "server"

  <operation name="AttributeQuery">
         <messageReceiver  
class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
     </operation>


I make the request with the following java code:

	System.out.println("*** Requesting for a functional role");

	Options options = new Options();
     options.setTo(targetEPR);
     options.setTransportInProtocol(Constants.TRANSPORT_HTTP);

     ServiceClient sender = new ServiceClient();
     sender.setOptions(options);
     OMElement result = sender.sendReceive(requestAA());

where requestAA() returns an OMElement.

I get this error:

  [java] org.apache.axis2.AxisFault: Can't find resource for bundle  
org.apache.axis2.i18n.ProjectResourceBundle, key outboundNoAction


and debugging a little bit I see:

     [java] 8614 [main] DEBUG httpclient.wire.content  - >> "0"
      [java] 8619 [main] DEBUG httpclient.wire.content  - >> "[\r][\n]"
      [java] 8620 [main] DEBUG httpclient.wire.content  - >> "[\r][\n]"
      [java] 8792 [main] DEBUG  
org.apache.commons.httpclient.methods.EntityEnclosingMethod  - Request  
body sent
      [java] 8794 [main] DEBUG httpclient.wire.header  - << "HTTP/1.1  
500 Internal Server Error[\r][\n]"
      [java] 8803 [main] DEBUG httpclient.wire.header  - << "Server:  
Apache-Coyote/1.1[\r][\n]"
      [java] 8804 [main] DEBUG httpclient.wire.header  - <<  
"X-Powered-By: Servlet 2.4; JBoss-4.0.5.GA (build: CVSTag=Branch_4_0  
date=200610162339)/Tomcat-5.5[\r][\n]"
      [java] 8806 [main] DEBUG httpclient.wire.header  - <<  
"Content-Type: text/xml;charset=UTF-8[\r][\n]"
      [java] 8807 [main] DEBUG httpclient.wire.header  - <<  
"Transfer-Encoding: chunked[\r][\n]"
      [java] 8808 [main] DEBUG httpclient.wire.header  - << "Date:  
Tue, 17 Jul 2007 14:35:03 GMT[\r][\n]"
      [java] 8809 [main] DEBUG httpclient.wire.header  - <<  
"Connection: close[\r][\n]"


Have you any idea?

Thank you very much,

Massimiliano


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org