Re: [Axis2] Deploying multiple services under single web app (single war file)

2008-02-21 Thread Antonio Manuel Muñiz Martín
Yes, it is. You can deploy each service independently in axis2 container. You only have to divide your WSDL in N WSDL´s and generate the aar files for each. Deploy the aar files in axis container, and you will have N web services. Each service may have its own axis2.xml and services.xml, look at

Re: Deploy my Service in a different war than axis2.war

2008-02-20 Thread Antonio Manuel Muñiz Martín
See this: http://wso2.org/library/90 2008/2/19, Moley Harey <[EMAIL PROTECTED]>: > > Hi folks! > > I have developed an Axis2 Web Service and to deploy and use it in Tomcat I > generate the MyService.aar file and copy it into the > "$CATALINA_HOME/webapps/axis2/WEB-INF/services" folder so it gets

Re: writing a client

2008-02-19 Thread Antonio Manuel Muñiz Martín
I like to use an Adapter Class that encapsulates all the creation message logic. This adapter class is used as a simple java object, in other words, the user of this class dont know if it is calling a web service, is calling a database, ... methods of this Adapter Class only receive parameters of

Re: Mininal set of maven dependencies

2008-01-21 Thread Antonio Manuel Muñiz Martín
OK. Thanks Afkham!! 2008/1/19, Afkham Azeez <[EMAIL PROTECTED]>: > > You can find a po.xml that contains the minimal set of jars here > http://wso2.org/blog/afkham-azeez/3081 > > Azeez > > On Jan 19, 2008 9:28 PM, Afkham Azeez <[EMAIL PROTECTED]> wrote: > > > This is a FAQ by several users. What w

Re: client for a secure conversation

2008-01-16 Thread Antonio Manuel Muñiz Martín
Which is the adderss of Rampart list? 2008/1/15, Nandana Mihindukulasooriya <[EMAIL PROTECTED]>: > > Hi Anil, > > I would like to get a reference to writing a client for a secure > > conversation using the rampart module, I saw the sample 4 in the samples > > with the rampart module and it does no

Re: Error while invoking the axis service through PHP NUSoap

2008-01-10 Thread Antonio Manuel Muñiz Martín
Hi. I see this in stack trace: org.apache.axis2.AxisFault: Please implement org.presci.echo.service.EchoServiceSkeleton#echo_operation This seems axis default empty skeleton message. Did you generate the service aar with the correct code, perhaps you generated the aar with an old code... Bye. An

Mininal set of maven dependencies

2008-01-09 Thread Antonio Manuel Muñiz Martín
Somebody could tell me the minimal set of maven dependencies for a Axis2 Service project? Thanks. Antonio.

Re: Axis2 - where is the maven-wsdl2code-plugin?

2008-01-02 Thread Antonio Manuel Muñiz Martín
This is my pom section, and it work fine: org.apache.axis2 axis2-wsdl2code-maven-plugin 1.3 generate-sources wsdl2code

Axis validate SOAP Messages

2007-12-13 Thread Antonio Manuel Muñiz Martín
Hi. Axis2 validate SOAP messages? I write in wsdl ... ... I send to service a message without appl element, in service code I do: String appl = operation.getOperationRequest().getAppl(); and this statement return null, that´s ok, but this element can not be null as W

Re: Sending SOAP Requests through an HTTP Proxy ... continued

2007-12-13 Thread Antonio Manuel Muñiz Martín
You can configure proxy dinamically for each client independently using: ProxyProperties proxyProperties = new ProxyProperties(); proxyProperties.setDomain("102.12.12.12"); proxyProperties.setProxyPort(80); proxyProperties.setUserName("user");

Re: Generating SOAP request from WSDL's schema

2007-12-13 Thread Antonio Manuel Muñiz Martín
You can use soapUI (www.soapui.org). SoapUI is an java application, use it and you will see how it works. Is exactly what do you want. You can checkout the source code and use it as API for dinamic message construction. I had the same issue some time ago. But, you can use Axis2 client side, data

Re: Cannot return int arrray from a web service.

2007-12-06 Thread Antonio Manuel Muñiz Martín
You can return an integer array if you use this in your wsdl: This element is interpreted by axis like a int array. Bye. 2007/12/4, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > Dear all, > > I have been trying to return an integer array from a web service. But I > am not able to do that. The w

Re: Axis2 phantom webservice!

2007-12-06 Thread Antonio Manuel Muñiz Martín
Hi. The eclipse plugin requires *.class files. When you modify your code, eclipse recompile it automatically only if you mark Auto build in project menu. Perhaps you don´t activate this, and perhaps eclipse plugin was taking the old class files (without re-compile). Bye. 2007/12/6, [EMAIL PROTE

Re: How to create a service using external jar files other than axis jar files

2007-12-06 Thread Antonio Manuel Muñiz Martín
Hi. Add your external jars into axis2 (war) lib directory and it will work fine. Previosly deploy axis2.war on tomcat using tomcat manager. Bye. 2007/12/6, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > I gave you some useful key terms. If you don't know what they mean I > would recommmend buying so

Re: [Axis2] How can I access response SOAP envelope?

2007-11-28 Thread Antonio Manuel Muñiz Martín
If you are using XMLBenas as data binding, try: YourOperationResponseDocument respose = stub.yourOperation(); String xmlSoap = response.toString(); I don´t know if ADB offers toString method. Bye. 2007/11/28, Charitha Kankanamge <[EMAIL PROTECTED]>: > > Folks, > > I tried to access the response

Re: Monitoring Web Services

2007-11-28 Thread Antonio Manuel Muñiz Martín
Try SoapUI (www.soapui.org). With soapUI you can create a request automatically, send and recive response message. Bye. 2007/11/28, Charitha Kankanamge <[EMAIL PROTECTED]>: > > Raghu Upadhyayula wrote: > > > Hi, > > > > I've developed webservices using Axis2 1.3 version. > > > > The way my webser

Re: Axis use RMI?

2007-11-27 Thread Antonio Manuel Muñiz Martín
lisation restrictions > Axis was designed to run free of transport binding implementation as well > as serialisation algorithms > > Saludos! > *Martín* > ----- Original Message - > > *From:* Antonio Manuel Muñiz Martín <[EMAIL PROTECTED]> > *To:* axis-user > *Se

Axis use RMI?

2007-11-26 Thread Antonio Manuel Muñiz Martín
Hi. When you generate an axis client using XMLBeans as data binding, you call web service operations with this statement: ServiceStub = new ServiceStub(); stub.operation(); This lines throws java.rmi.RemoteException Axis uses Java RMI?

Re: [AXIS2] proxy problems

2007-10-31 Thread Antonio Manuel Muñiz Martín
Try this: ProxyProperties proxyProperties = new ProxyProperties(); proxyProperties.setProxyName("192.168.0.10"); proxyProperties.setDomain("192.168.0.10"); proxyProperties.setProxyPort(80); stub._getServiceClient().getOptions().setProperty( HTTPConstants.PR

Re: XMLBeans MTOM Client

2007-10-30 Thread Antonio Manuel Muñiz Martín
one the work or had the interest. You'd probably have to supply > patches in order for it to make xmlbeans with mtom a reality. > > Robert > > On 10/29/07, Antonio Manuel Muñiz Martín <[EMAIL PROTECTED]> > wrote: > > Hi. > > > > How about this command

XMLBeans MTOM Client

2007-10-29 Thread Antonio Manuel Muñiz Martín
Hi. How about this command: wsdl2java -uri MTOMSample.wsdl -p mtom.client -d xmlbeans -s -o build/client MTOMSample.wsdl defines a service that use MTOM. Is it possible? (MTOM client using XMLBeans data binding).

Re: axis2: create database connection by services in axis2 server

2007-10-22 Thread Antonio Manuel Muñiz Martín
All jars. It is the axis classpath. Antonio. 2007/10/22, Qil. Wong <[EMAIL PROTECTED]>: > > Thanks,Antonio! > > Another question: should all the third party libraries used in the project > be put into /axis2/WEB-INF/lib? or only the drivers? > > > 2007/10/22, Anton

Re: axis2: create database connection by services in axis2 server

2007-10-22 Thread Antonio Manuel Muñiz Martín
Put the db driver .jar in /axis2/WEB-INF/lib, all jars what you want to use must go here. 2007/10/22, Qil. Wong <[EMAIL PROTECTED]>: > > Hi, > > I have one javase application and now I need to change it into axis2 > webservice and publish it. > > While it was javase application, it run fin

Re: How to change the webservices URL (remove /services from the URL)

2007-10-19 Thread Antonio Manuel Muñiz Martín
You can modify the wsdl in generation resources fase. Using Axis2 contract first approach you start with the wsdl (which also be generated with axis starting of a interface in java). Modify the wsdl and execute wsdl2java for service generation, execute ant build task generated and your obtain a *.a

Re: Axis does not find my external libs

2007-10-18 Thread Antonio Manuel Muñiz Martín
If you put the jars in axis lib directory (/axis2/WEB-INF/lib) it will work fine. Antonio. 2007/10/17, Upul Godage <[EMAIL PROTECTED]>: > > Put the connector/j jar in the aar archive's lib folder. > > In the service class, > ClassLoader classLoader = getClass().getClassLoader(); > Class.forName("

Re: XMLBeans: get methods returns null

2007-10-17 Thread Antonio Manuel Muñiz Martín
obert > > On 10/16/07, Antonio Manuel Muñiz Martín < [EMAIL PROTECTED]> > wrote: > > Hi. > > I´m using XMLBeans data binding. I receive the response Document and I > do > > > > Foo f = response.getFooResponse ().getReturn(); > > > > Foo has an attrib

XMLBeans: get methods returns null

2007-10-16 Thread Antonio Manuel Muñiz Martín
Hi. I´m using XMLBeans data binding. I receive the response Document and I do Foo f = response.getFooResponse().getReturn(); Foo has an attribute named foo and f.getFoo() returns null, but f.toString() return a string which contains the correct xml (with foo attribute fixed). ¿Why f.getFoo() re

Re: Class loading using external jar in Axis 2

2007-10-11 Thread Antonio Manuel Muñiz Martín
Sorry, I forget this. The jar must be in axis lib directory (/axis2/lib), not in aar lib directory. 2007/10/11, Antonio Manuel Muñiz Martín <[EMAIL PROTECTED]>: > > Try to generate service skeletons with xmlBeans binding (option -d > xmlBeans), more complex but more power and contr

Re: Class loading using external jar in Axis 2

2007-10-11 Thread Antonio Manuel Muñiz Martín
Try to generate service skeletons with xmlBeans binding (option -d xmlBeans), more complex but more power and control. 2007/10/11, sgopal <[EMAIL PROTECTED]>: > > > Hi, > Thanks for your reply. I tried this and it did not work. > I think it might be because the class that is in an external jar is

Re: Problem with Rampart

2007-10-11 Thread Antonio Manuel Muñiz Martín
t; To: axis-user@ws.apache.org > Subject: Re: Problem with Rampart > > You also need to put all the .jar files from the lib folder of rampart > into axis2/WEB-INF/lib. > > Antonio Manuel Muñiz Martín wrote: > > Hi. > I try to use rampart. I folow the instructions in the doc (mod

Re: Peculiar Issue while testing a service

2007-10-10 Thread Antonio Manuel Muñiz Martín
Do you modify the xsd in the correct place? Perhaps you are modifying the xsd and on deploy time the xsd used is other. 2007/10/10, Gudla, Natraj (GE Money, consultant) <[EMAIL PROTECTED]>: > > First i generate a sample xml file using the Eclipse IDE, using the xsd, > then use the parse method of

Problem with Rampart

2007-10-10 Thread Antonio Manuel Muñiz Martín
Hi. I try to use rampart. I folow the instructions in the doc (modify service.xml, engage module in axis2.xml and put the module file rampart-1.3in /axis2/modules directory). When I deploy the aar file axis throws the exception Error: org.apache.axis2.deployment.DeploymentException: The rampart mod

Re: Read Time out Error when calling webservice from a proxy

2007-10-10 Thread Antonio Manuel Muñiz Martín
web service is running on the proxy? or your SOAP petition pass through a proxy? Try to send soap message to your service from soapUI (www.soapui.org). soapui alow proxy configuration. 2007/10/10, Upul Godage <[EMAIL PROTECTED]>: > > Hi, > > Have you checked whether the proxy server is running in

Re: SOAPMonitor Problem

2007-10-09 Thread Antonio Manuel Muñiz Martín
Problem solved. SOAPMonitor not runs on Glassfish. I have do the same on Tomcat and it runs. Thaks for all. 2007/10/9, Antonio Manuel Muñiz Martín <[EMAIL PROTECTED]>: > > Mmm, I´m using axis distribution deployed on Glassfish server. ¿Is this a > problem? > I think that axis

Re: SOAPMonitor Problem

2007-10-09 Thread Antonio Manuel Muñiz Martín
t copy and paste the phases. In fact, you > > shouldn't need to change those at all. > > > > HTH, > > Robert > > > > On 10/9/07, Antonio Manuel Muñiz Martín <[EMAIL PROTECTED]> > wrote: > > > I do all steps in d

Re: SOAPMonitor Problem

2007-10-09 Thread Antonio Manuel Muñiz Martín
I do all steps in documentation. I don´t modify phaseOrder content, because the phase soapmonitorPhase already exists. Perhaps I don´t understand the phase filosofy. In my axis2.xml I have: ... ...

Re: SOAPMonitor Problem

2007-10-09 Thread Antonio Manuel Muñiz Martín
xis2/SOAPMonitorApplet*.class > >Suerte! > Antonio Manuel Muñiz Martín a écrit : > > Ok. Thanks. > > > > I extract the soapmonitor.jar file in root directory (/axis2) and I > > configured the axis2.xml and web.xml in axis2 distribution. > > When I pu

SOAPMonitor Problem

2007-10-09 Thread Antonio Manuel Muñiz Martín
Thanks a lot for your effort. Regards, Antonio. >axis2-soapmonitor.jar got renamed to soapmonitor.jar during the conversion to maven2 for the 1.3 release. Thanks for pointing that out, I'll update the docs. > >HTH, >Robert > >On 10/9/07, Antonio Manuel Muñiz Martín <

axis2-soapmonitor.jar

2007-10-09 Thread Antonio Manuel Muñiz Martín
Hi. Where is axis2-soapmonitor.jar? This file appears in the doc but I do not find it. The command javac -classpath axis2-soapmonitor.jar SOAPMonitorApplet-java uses it. Regards. __ Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener informacion c