Forwarding with Axis2 prefix.

Best Regards,
Chamil Thanthrimudalige

Begin forwarded message:

From: "Paul Fremantle" <[EMAIL PROTECTED]>
Date: April 18, 2007 3:09:25 PM GMT+05:30
To: "[email protected]" <[email protected]>
Subject: Is this a bug or working as designed?
Reply-To: [email protected]

If I new up a stub like this:

ConfigurationContext cc =
ConfigurationContextFactory.createConfigurationContextFromFileSystem(
"c:/axis2-1.2/repository", "c:/axis2-1.2/conf/axis2.xml");
        
ProfileServerServiceStub stub = new ProfileServerServiceStub(cc, null);

I assume it would use the EPR baked into the stub. But it doesn't.
Instead I get this
Exception in thread "main" org.apache.axis2.AxisFault: Address
information does not exist in the Endpoint Reference (EPR).The system
cannot infer the transport mechanism.

So bug? or am I meant to pass the EPR in?

Paul

--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to