Hi Paul; Current implementation will override EPR of the stub by the value you passed in , so in this case existing EPR will be replaced by null. So this is smt thing we need to decide what we need to do when we pass EPR as null , I think it will be ok if we keep the existing value when someone pass null as EPR (but this is beyond 1.2 :) ).
Thanks Deepal > 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] > > > -- Thanks, Deepal ................................................................ "The highest tower is built one brick at a time" --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
