Re: axis 1.4 questions

2006-08-21 Thread Ravi Krishnamurthy

Hello:

Well I figured out a way for the first question. Thought this may be 
useful if somebody else wanted to generate only the javabeans.


Basically, Axis1 has a class called org.apcahe.axis.JavaGeneratorFactory 
which is used to give all the generators inclusing the stubs and 
interfaces. I extended this class and override 2 methods as below:

public Generator getGenerator(Binding binding, SymbolTable symbolTable) {
   return new NoopGenerator();
  
   }// getGenerator
  
   public Generator getGenerator(Service service, SymbolTable 
symbolTable) {
  
   return new NoopGenerator();

   }// getGenerator


When the wsdl2java is called the customised factory class is provided 
using the -F option


wsdl2java -F customizedJavaGeneratorFactory

Also since the javabean class by default referes to some axis classes, I 
used the -H option so that the helper class can take care of the axis 
classes and I can be able to use the java bean as data objects and 
easily sent across instead of worrying about the axis class whereever it 
is not necessary.


Regards,
Ravi


Ravi Krishnamurthy wrote:

Hello:
a. Is it possible to generate only the java beans for the complex type 
mentioned in the wsdl using axis1.4 wsdl2java
b. Also is it possible to get a sample soap message for a given 
webservice and operation using axis 1.4. If not is there any other 
tools available.


Thanks for your time and help,
Ravi


-
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]



Re: axis 1.4 questions

2006-08-20 Thread Ravi Krishnamurthy

Thanks Manuel.

Regards,
Ravi
Manuel Mall wrote:

On Monday 21 August 2006 03:16, Ravi Krishnamurthy wrote:

  

Thanks Jose.
I would like to get the sample message without using the soap monitor
so that it will be easy to test the webservice just by sending the
soap message.

Regards,
Ravi



Have a look a SOAPUI (http://www.soapui.org). Personally I think it is a 
very handy tool to test webservices. It can import wsdl, generate test 
SOAP messages for each operation, and in its logging pane you can see 
the detailed HTTP message exchange.


Manuel

-
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]



Re: axis 1.4 questions

2006-08-20 Thread Manuel Mall
On Monday 21 August 2006 03:16, Ravi Krishnamurthy wrote:

> Thanks Jose.
> I would like to get the sample message without using the soap monitor
> so that it will be easy to test the webservice just by sending the
> soap message.
> 
> Regards,
> Ravi

Have a look a SOAPUI (http://www.soapui.org). Personally I think it is a 
very handy tool to test webservices. It can import wsdl, generate test 
SOAP messages for each operation, and in its logging pane you can see 
the detailed HTTP message exchange.

Manuel

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



Re: axis 1.4 questions

2006-08-20 Thread Ravi Krishnamurthy




Thanks Jose.
I would like to get the sample message without using the soap monitor
so that it will be easy to test the webservice just by sending the soap
message.

Regards,
Ravi
José Ferreiro wrote:
Hello Ravi,
  
My message answers only to your second question denoted  B.
I was investigating last friday the different tools to view the soap
messages 
from the web services I am writting using Axis 1.4:
  
See
  
  http://www.oio.de/m/jaxrpc/axis-tcp-monitor.htm
  
  http://ws.apache.org/axis/java/user-guide.html
  
  
see Appendix: Appendix : Using the Axis TCP Monitor (tcpmon) 
[ http://ws.apache.org/axis/java/user-guide.html#AppendixUsingTheAxisTCPMonitorTcpmon
   ]
  
or you may also use the soap monitor
  
  http://ws.apache.org/axis/java/user-guide.html#AppendixUsingTheSOAPMonitor
  
  
Another possibility is also to use tcptrace
  
  http://www.pocketsoap.com/tcptrace/
  
  
Hope this helps you.
Have a nice day and week
  
José Ferreiro
  
  
  On 8/20/06, Ravi Krishnamurthy <[EMAIL PROTECTED]> wrote:
  Hello:
a. Is it possible to generate only the java beans for the complex type
mentioned in the wsdl using axis1.4 wsdl2java
b. Also is it possible to get a sample soap message for a given
webservice and operation using axis 1.4. If not is there any other tools
available.

Thanks for your time and help,
Ravi


-
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]



Re: axis 1.4 questions

2006-08-20 Thread José Ferreiro
Hello Ravi,My message answers only to your second question denoted  B.I was investigating last friday the different tools to view the soap messages from the web services I am writting using Axis 1.4:
Seehttp://www.oio.de/m/jaxrpc/axis-tcp-monitor.htmhttp://ws.apache.org/axis/java/user-guide.html
see Appendix: Appendix : Using the Axis TCP Monitor (tcpmon) [ http://ws.apache.org/axis/java/user-guide.html#AppendixUsingTheAxisTCPMonitorTcpmon
 ]or you may also use the soap monitorhttp://ws.apache.org/axis/java/user-guide.html#AppendixUsingTheSOAPMonitor
Another possibility is also to use tcptracehttp://www.pocketsoap.com/tcptrace/Hope this helps you.Have a nice day and weekJosé Ferreiro
On 8/20/06, Ravi Krishnamurthy <[EMAIL PROTECTED]> wrote:
Hello:a. Is it possible to generate only the java beans for the complex typementioned in the wsdl using axis1.4 wsdl2javab. Also is it possible to get a sample soap message for a givenwebservice and operation using axis 
1.4. If not is there any other toolsavailable.Thanks for your time and help,Ravi-To unsubscribe, e-mail: 
[EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]


axis 1.4 questions

2006-08-19 Thread Ravi Krishnamurthy

Hello:
a. Is it possible to generate only the java beans for the complex type 
mentioned in the wsdl using axis1.4 wsdl2java
b. Also is it possible to get a sample soap message for a given 
webservice and operation using axis 1.4. If not is there any other tools 
available.


Thanks for your time and help,
Ravi


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