ok, sorry, i do it in the future....sorry...
but sombody can me help with my problem ?
thanks....
Am Mittwoch 15 März 2006 15:21 schrieb Ajith Ranabahu:
> Hi Filipp,
> Saminda meant the prefix in the mail, not a namespace prefix in Axis2.
> We have the habit of putting a "[Axis2]" infront of the mail subject
> since we are using a mailing list originally meant for Axis1 and
> people would need a way to distinguish between the two versions.
> If we notice any Axis2 releated mail without the prefix we would be
> forwarding it with the prefix, just for the people to notice it.
>
> Ajith
>
> On 3/15/06, Filipp Akinfiev <[EMAIL PROTECTED]> wrote:
> > where can i find info about Axis2 prefix? i find nothing about it in
> > documentation ....
> > thanks!
> >
> > Am Mittwoch 15 März 2006 06:16 schrieb Saminda Abeyruwan:
> > > Forwarded with Axis2 prefix;
> > >
> > > Filipp Akinfiev wrote:
> > > > Hi all,
> > > > in my client class i have function like :
> > > > public TFileSendResponse storeFile(int type, String fileName,
> > > > String pathToFile) {
> > > > TFileSendResponse response = null;
> > > > try {
> > > > response =
> > > > FileSend.response(makeCall(FileSend.request(new TFileSend("", "",
> > > > type, fileName, pathToFile)), "storeFile")); } catch (Exception e) {
> > > > e.printStackTrace();
> > > > }
> > > > return response;
> > > > }
> > > >
> > > > it's call function makeCall:
> > > >
> > > > private MessageContext makeCall(MessageContext requestContext,
> > > > String action) {
> > > > ServiceClient client;
> > > > MessageContext result = null;
> > > > try {
> > > > // creating the Service
> > > > AxisService service = new AxisService("IXMLWS2");
> > > >
> > > > // creating the operations
> > > > AxisOperation operation = new
> > > > OutInAxisOperation(); operation.setName(new
> > > > javax.xml.namespace.QName("urn:XMLWSIntf-IXMLWS", action));
> > > > service.addOperation(operation);
> > > > client = new ServiceClient(new
> > > > ConfigurationContextFactory().createConfigurationContextFromFileSyste
> > > >m(AX IS2_HOME), service);
> > > > client.getOptions().setTo(targetEPR);
> > > >
> > > > client.getOptions().setSoapAction("urn:XMLWSIntf2-IXMLWS2#" +
> > > > action); client.getOptions().setExceptionToBeThrownOnSOAPFault(true);
> > > > client.getOptions().setTransportInProtocol(Constants.TRANSPORT_TCP);
> > > >
> > > > client.getOptions().setProperty(org.apache.axis2.context.MessageConte
> > > >xtCo nstants.CHUNKED,org.apache.axis2.Constants.VALUE_FALSE);
> > > > client.getOptions().setProperty(Constants.Configuration.ENABLE_MTOM,
> > > > Constants.VALUE_TRUE);
> > > >
> > > > OperationClient opClient =
> > > > client.createClient(new
> > > > javax.xml.namespace.QName("urn:XMLWSIntf-IXMLWS", action));
> > > >
> > > > opClient.addMessageContext(requestContext);
> > > > opClient.execute(true);
> > > >
> > > > return
> > > > opClient.getMessageContext(WSDLConstants.MESSAGE_LABEL_IN_VALUE); }
> > > > catch (AxisFault e) {
> > > > e.printStackTrace();
> > > > }
> > > > return result;
> > > > }
> > > >
> > > > after execute, i have open connection to axis server, how can i
> > > > terminate it ?
> > > >
> > > > thanks in advance!
>
> --
> Ajith Ranabahu