Hi stefano, How about using org.apache.axis2.client.ServiceClient instead of Call ?
http://ws.apache.org/axis2/1_1/quickstartguide.html See "Creating a Client with AXIOM" section. I've never used Call with Axis2, so I can't say anything about Call class, though. kinichiro --- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > hi all, > > I would want that some operations of mine client sends a String and > that they received other String like answer. In order to make this I > have used In-Out operations with Blocking Single Transport pattern. > > client side > .... > // Create the call > Call call = new Call(); > call.setTo(targetEPR); > call.setTransportInfo(Constants.TRANSPORT_HTTP, > Constants.TRANSPORT_HTTP, false); > // Invoke blocking > OMElement result = call.invokeBlocking("registration", reg); > System.out.println(result.getText()); > .... > > Server side > ..... > String symbol = in.getText(); > OMFactory fac = OMAbstractFactory.getOMFactory(); > OMNamespace omNs = > fac.createOMNamespace("http://service.wsattachment.geosolutions.it/xsd", > "wsa"); > OMElement resp = fac.createOMElement("registrationResponse", omNs); > resp.setText("Registration succesfully"); > ...... > but the Call class is not resolved. I have seen that > this class would have to be contained in the package > org.apache.axis2.clientapi , but this package isn't in the package of > version 1,1. > > How can I resolve this problem? > > thanks advantage > > stefano > > > ------------------------------------------------------ > Perdi 2 Taglie in 60 Giorni con Perdi Peso Cerotto! Clicca qui > http://click.libero.it/webnation21nov06 > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
