Re: [Axis2] Configure Rampart dynamically

2006-08-20 Thread Dennis Sosnoski

Hi Ruchith,

I'd looked at these samples before writing my email. It's not very clear 
from the presentation slides exactly what some of the samples are doing, 
so I hadn't realized this one matched what I was looking for.


In any case, I'd already decided to switch to just using WSS4J directly. 
For what I'm doing the Axis2 benefits would have been minimal, and using 
WSS4J directly gives me full control over the security details. I was 
surprised that I immediately ran into a bug in WSS4J, but I fixed it and 
now everything looks good.


 - Dennis

Ruchith Fernando wrote:

Hi Dennis,

Please have a look at Sample 11 in the samples provided with this [1]
presentation. That has answers to both questions.

Thanks,
Ruchith

[1] 
http://www.wso2.net/presentations/wss4j/java/2006/08/04/apache-rampart


On 8/17/06, Dennis Sosnoski <[EMAIL PROTECTED]> wrote:

Hi Ruchith,

I've been trying to do some similar things with Rampart, and running
into a few unknowns. First off, how do I set the configuration to do
multiple steps in the outflow and inflow? In my case, I need to sign the
outgoing message with my local private key, then encrypt with the
server's public key (from the certificate in my keystore).

Secondly, how do I control the type of SecurityTokenReference used in
the message? By default I get an X509Data with X509IssuerSerial; I'd
prefer to use a KeyIdentifier instead. I tried:

  
ofc.setSignatureKeyIdentifier(WSSHandlerConstants.X509_KEY_IDENTIFIER);


But this didn't appear to have any effect.

  - Dennis

Dennis M. Sosnoski
SOA, Web Services, and XML
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-296-6194 - Wellington, NZ +64-4-298-6117



Ruchith Fernando wrote:
> Please add the axis2-security-SNAPSHOT.jar [1] into your classpath to
> access the OutflowConfiguration/InflowConfiguration classes.
>
> Latest rampart-SNAPSHOT.mar is available here : [2].
>
> Thanks,
> Ruchith
>
> [1]
> 
http://people.apache.org/repository/axis2/jars/axis2-security-SNAPSHOT.jar 


>
> [2] 
http://people.apache.org/repository/axis2/mars/rampart-SNAPSHOT.mar

>
> On 8/10/06, Brecht Yperman <[EMAIL PROTECTED]> wrote:
>> Ok,
>>
>> Apparently I'm shit at using Axis2, no progress last two days...
>>
>> Where can I find the latest rampart.mar-build?
>> Can I rename the .mar-file to .jar and add it to my build path (to 
use

>> the OutflowConfiguration class)?
>>
>> Thanks,
>> Brecht
>>
>> -Original Message-
>> From: Ruchith Fernando [mailto:[EMAIL PROTECTED]
>> Sent: donderdag 10 augustus 2006 10:02
>> To: axis-user@ws.apache.org
>> Subject: Re: [Axis2] Configure Rampart dynamically
>>
>> Hi Brecht,
>>
>> Yes it is possible. Please see here:
>> http://marc.theaimsgroup.com/?l=axis-user&m=115517624610919&w=2
>>
>> Thanks,
>> Ruchith
>>
>> On 8/10/06, Brecht Yperman <[EMAIL PROTECTED]> wrote:
>> >
>> >
>> >
>> >
>> > Hi,
>> >
>> >
>> >
>> > how do I configure Rampart dynamically?
>> >
>> >
>> >
>> > I tried something like this, but it does not work...
>> >
>> >
>> >
>> > private void configureSecurity(ServiceClient client) throws 
AxisFault

>> {
>> >
>> > if (true /*security == on*/) {
>> >
>> >   Parameter parm = new Parameter();
>> >
>> >   parm.setName("OutflowSecurity");
>> >
>> >
>> >
>> >   OMFactory fact = 
OMAbstractFactory.getOMFactory();

>> >
>> >
>> >
>> >   OMNamespace emptyNS = 
fact.createOMNamespace(null,

>> "");
>> >
>> >   OMElement actionEl = 
fact.createOMElement("action",

>> > emptyNS);
>> >
>> >
>> >
>> >   OMElement itemsEl = fact.createOMElement("items",
>> > emptyNS);
>> >
>> >   itemsEl.setText("UsernameToken");
>> >
>> >   actionEl.addChild(itemsEl);
>> >
>> >
>> >
>> >   OMElement userEl = fact.createOMElement("user",
>> emptyNS);
>> >
>> >   userEl.setText("bob");
>> >
>> >   actionEl.addChild(userEl);
>> >
>> >
>> >
>> >   OMElement pwCbEl =
>> > fact.createOMElement("passwordCallbackClass", emptyNS);
>> >
>> >   pwCbEl.setText("CallbackHandler");
>> >
>> >   actionEl.addChild(pwCbEl);
>> >
>> >
>> >
>> >   parm.setParameterElement(actionEl);
>> >
>> >
>> >
>> >   client.engageModule(new QName("rampart-1.0"));
>> >
>> > }
>> >
>> >   }
>> >
>> >
>> >
>> > Thanks,
>> >
>> > Brecht
>> >
>> >
>> >
>> > Invenso - The "Integration Software" specialists.
>> >  _
>> >
>> > Brecht Yperman
>> >  Development team
>> >
>> >  Direct: +32 (0)3 780 30 05
>> >  Email: [EMAIL PROTECTED]
>> >
>> > INVENSO bvba
>> >  Industriepark-West 75
>> >  9100 Sint-Niklaas
>> >  Belgium - Europe
>> >
>> >  Phone: +32 (0)3 780 30 02
>> >  Fax: +32 (0)3 780 30 03
>> >  Email: [EMAIL PROTECTED]
>> >  Website: www.invenso.com
>> >
>> > "E-mail disclai

[Axis2] to to send multipart/related message

2006-08-20 Thread Greg Fichtenholtz
Hello,
my goal is to send multipart/related message (SOAP envelope with attachments).
 
My client code looks like this:
 
 public static void main(String[] args)
  throws Exception
 {
 EndpointReference targetEPR = new 
EndpointReference("http://localhost:8080/axis2/services/AttachService";);
 Options options = new Options();
options.setTo(targetEPR);
options.setSoapVersionURI(SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI);
  OMFactory factory = OMAbstractFactory.getOMFactory();
OMNamespace omNs = factory.createOMNamespace(
"http://example1.org/example1";, "example1");

OMElement method = factory.createOMElement("echo", omNs);
OMElement value = factory.createOMElement("image", omNs);
  String inputImageFileName = "C:\\TEMP\\ALSB.jpl";
Image image = new ImageIO().loadImage(new 
FileInputStream(inputImageFileName));
ImageDataSource ds = new ImageDataSource("ALSB.jpl",image);
DataHandler dh = new DataHandler(ds);
OMText textData = factory.createOMText(dh, true);
value.addChild(textData);
method.addChild(value);

//Blocking invocation
ServiceClient sender = new ServiceClient();
sender.setOptions(options);
OMElement result = sender.sendReceive(method);
System.out.println(result);
 }

 
for some reason when I send this, both SOAP Monitor and network sniffer show 
that the actual data sent on the wire looks like this:
 

http://schemas.xmlsoap.org/soap/envelope/";>
  
  
http://example1.org/example1";>
  /9j/4AAQSkZJRgABAgAAAQABAAD/2w...

  

 
(I shortened the contents of the image element for brevity)
 
This is not what I expected and not what I want. Could some one please help 
figure out why multipart/related MIME message is not used in this case?
 
Thanks in advance
Greg

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



Axis 2 stub generation

2006-08-20 Thread Gaurav Dayal








 

I am using axis2. According to limitations specified on
apache website, axis2 doesn’t support RPC style for stub generation.
Still, I tried to generate stubs from a wsdl with RPC style and it generated
the code. The difference between codes generated with RPC and Document style
coding is that in case of RPC, methods return/pass OMElement; while in case of
Document style; methods return/pass objects that are custom created by axis and
implement XmlObject. I just want to know whwther this can cause problems while
manipulating the passed/returned parameters. 

Gaurav
Dayal
Jr Software Engineer
C-SAM
www.c-sam.com
email: gaurav.dayal@c-sam.co.in
+ 91 22  27781940 (O)
+ 91 22  27781940 (F)
+ 91 9833988916   (M)
___

Confidentiality
Notice

This
e-mail and the document(s) accompanying this e-mail is intended solely for the
recipient(s) to which it is addressed, and contains information that may be
confidential or privileged and exempt from disclosure under applicable law. If
you are not the intended recipient, be aware that any disclosure, copying,
distribution or use of the contents of this e-mail is not authorized and is
prohibited. If you have received this e-mail in error, please notify us
immediately, and delete each and every copy of it.

 








Response from Axis does not conform with the WSDL

2006-08-20 Thread Arati Rahalkar








Hi 

 

I am having a very basic question about Axis. It really
seems like a bug or otherwise I am not missing something. I have a very simple
web service deployed on Axis 1.2 with only one method: sayHelloToMe which takes
in a person’s name as input and returns “Hello ”
string as a response. Following is the snippet of the WSDL file (as generated
by Axis when I access the wsdl using serviceName?wsdl)

 

WSDL Types for request and response

 



  

   

  

  

   

  

 

 

Input message

   

  

   

 

Output message

   

  

   

   

 

Operation

  

 

 

  

   

 

According to this WSDL, the response I get from the server
to this web service call should be: Hello input

 

However, when I checked using the SOAP monitor – I get
the response Hello input. Note that, meReturn
is no where mentioned in the WSDL document. The only logical explanation is
that Axis is appending a “Return” to the input parameter “me”.
The namespace of the response is also the same as the request (where as in the WSDL
the two namespaces are different).

 

This seems like a major bug – or am I missing
something? Is there a workaround for this problem? Is this problem fixed in
later versions of Axis?

 

Thanks,

Arati



DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails.




RE: [***POSSIBLE SPAM***] - Axis 1.x -vs- Axis 2 - Bayesian Filter detected spam

2006-08-20 Thread William Ferguson
I'd like to say otherwise, but I don''t think Axis2-1.0 is together
enough for a production application.

The stub and data object generation is not quite there and neither is
the Exception and Array handling.
Eg 
http://issues.apache.org/jira/browse/AXIS2-937
http://issues.apache.org/jira/browse/AXIS2-957

 
William




From: M. Goodell [mailto:[EMAIL PROTECTED] 
Sent: Monday, 21 August 2006 1:37 PM
To: Users Axis
Subject: [***POSSIBLE SPAM***] - Axis 1.x -vs- Axis 2 - Bayesian
Filter detected spam


Hello,
 
I am preparing to embark on a large project largely dependent
upon Axis / web services. Currently, the development / prototyping I
have been doing has all been with Axis 1.4. 
 
The sixty-four dollar question is:
 
What is the general consensus on employing Axis2 for a
production project? 
 
Any and all thoughts are welcome.
 
Thanks,
 
M Goodell




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



Axis 1.x -vs- Axis 2

2006-08-20 Thread M. Goodell
Hello,     I am preparing to embark on a large project largely dependent upon Axis / web services. Currently, the development / prototyping I have been doing has all been with Axis 1.4.      The sixty-four dollar question is:     What is the general consensus on employing Axis2 for a production project?      Any and all thoughts are welcome.     Thanks,     M Goodell 
		Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates starting at 1¢/min.

Re: "Axis2 trasnport error"

2006-08-20 Thread Davanum Srinivas

Jeff,

I believe it's a HTTP 404. I added some code to make the error message better.

http://svn.apache.org/viewvc?view=rev&revision=433109

thanks,
dims

On 8/18/06, Jeff Ling <[EMAIL PROTECTED]> wrote:

Hi Martin,

Sorry I didn't make it clear: This is a Microsoft Sharepoint portal Site,
not Axis site.

I am using Axis as the client (statically generated stub).

The site is available, and authentication is successfult. The web services
are also available, and many calls have succeeded.

Jeff


On 8/18/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
> Jeff-
>
> Did you verify hostname(s) mail server(s) are reachable ?
> Did you verify ports are not already bound?
> Did you verify the service is published ?
> http://MachineName:8080/axis2/services/listServices
>
> Did you verify you are able to access the published wsdl?
> Have you verified the messageReceiver class(es) from services.xml
> http://www.w3.org/2004/08/wsdl/in-only";
> class="Verify the class specified here!"
> is on the classpath ???
> Did you verify the mep is reachable ?
>
> Perhaps the requestTimeout parameters in your axis2.xml is too small?
> Perhaps the threadKeepAliveTime in your axis2.xml is too small?
>
> Anyone else?
>
> Martin--
> __
> Disclaimer and confidentiality note
> Everything in this e-mail and any attachments relates to the official
> business of Sender. This transmission is of a confidential nature and
Sender
> does not endorse distribution to any party other than intended recipient.
> Sender does not necessarily endorse content contained within this
> transmission.
> (mobile) 001-603-438-5053
>
> >
> >Hi guys,
> >
> >Here is a strange error. There is not much information even though I've
> >turned on debug log using Log4j.
> >
> >Any thoughts? How do I config my app to generate more information to help
> >debugging? This happened at a customer's site and the only tool available
> >to
> >me is log files.
> >
> >Thanks in advance!
> >
> >Jeff
> >
> >[EMAIL PROTECTED]:59:50 DEBUG [main] (StAXSOAPModelBuilder.java:187) - Build 
the
> >OMElelment HeaderBy the StaxSOAPModelBuilder
> > [EMAIL PROTECTED]:59:50 DEBUG [main] (StAXSOAPModelBuilder.java:187) - 
Build the
> >OMElelment HeaderBy the StaxSOAPModelBuilder
> >[EMAIL PROTECTED]:59:50 DEBUG [main] (StAXSOAPModelBuilder.java:187) - Build 
the
> >OMElelment BodyBy the StaxSOAPModelBuilder
> >[EMAIL PROTECTED]:59:50 DEBUG [main] (StAXSOAPModelBuilder.java:187) - Build 
the
> >OMElelment BodyBy the StaxSOAPModelBuilder
> >[EMAIL PROTECTED]:59:50 DEBUG [main] (StAXSOAPModelBuilder.java:187) - Build 
the
> >OMElelment GetListCollectionBy the StaxSOAPModelBuilder
> >[EMAIL PROTECTED]:59:50 DEBUG [main] (StAXSOAPModelBuilder.java:187) - Build 
the
> >OMElelment GetListCollectionBy the StaxSOAPModelBuilder
> >[EMAIL PROTECTED]:59:50 ERROR [main] (Feeder.java:55) - Axis2 transport 
error :
Not
> >Found; nested exception is:
> >org.apache.axis2.AxisFault: Axis2 transport error : Not Found; nested
> >exception is:
> >org.apache.axis2.AxisFault: Axis2 transport error : Not Found; nested
> >exception is:
> >org.apache.axis2.AxisFault: Axis2 transport error : Not Found
> >[EMAIL PROTECTED]:59:50 ERROR [main] (Feeder.java:55) - Axis2 transport 
error :
Not
> >Found; nested exception is:
> >org.apache.axis2.AxisFault : Axis2 transport error : Not Found;
nested
> >exception is:
> >org.apache.axis2.AxisFault: Axis2 transport error : Not Found; nested
> >exception is:
> >org.apache.axis2.AxisFault: Axis2 transport error : Not Found
>
>
>
>
-
> To unsubscribe, e-mail:
[EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



--
Jeff Ling
Product Solutions Engineer
GOOGLE
Office: (650) 253-3095
Fax: (650) 618-1835
Email: [EMAIL PROTECTED]



--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

-
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: [Axis2] Configure Rampart dynamically

2006-08-20 Thread Ruchith Fernando

Hi Dennis,

Please have a look at Sample 11 in the samples provided with this [1]
presentation. That has answers to both questions.

Thanks,
Ruchith

[1] http://www.wso2.net/presentations/wss4j/java/2006/08/04/apache-rampart

On 8/17/06, Dennis Sosnoski <[EMAIL PROTECTED]> wrote:

Hi Ruchith,

I've been trying to do some similar things with Rampart, and running
into a few unknowns. First off, how do I set the configuration to do
multiple steps in the outflow and inflow? In my case, I need to sign the
outgoing message with my local private key, then encrypt with the
server's public key (from the certificate in my keystore).

Secondly, how do I control the type of SecurityTokenReference used in
the message? By default I get an X509Data with X509IssuerSerial; I'd
prefer to use a KeyIdentifier instead. I tried:

  ofc.setSignatureKeyIdentifier(WSSHandlerConstants.X509_KEY_IDENTIFIER);

But this didn't appear to have any effect.

  - Dennis

Dennis M. Sosnoski
SOA, Web Services, and XML
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-296-6194 - Wellington, NZ +64-4-298-6117



Ruchith Fernando wrote:
> Please add the axis2-security-SNAPSHOT.jar [1] into your classpath to
> access the OutflowConfiguration/InflowConfiguration classes.
>
> Latest rampart-SNAPSHOT.mar is available here : [2].
>
> Thanks,
> Ruchith
>
> [1]
> http://people.apache.org/repository/axis2/jars/axis2-security-SNAPSHOT.jar
>
> [2] http://people.apache.org/repository/axis2/mars/rampart-SNAPSHOT.mar
>
> On 8/10/06, Brecht Yperman <[EMAIL PROTECTED]> wrote:
>> Ok,
>>
>> Apparently I'm shit at using Axis2, no progress last two days...
>>
>> Where can I find the latest rampart.mar-build?
>> Can I rename the .mar-file to .jar and add it to my build path (to use
>> the OutflowConfiguration class)?
>>
>> Thanks,
>> Brecht
>>
>> -Original Message-
>> From: Ruchith Fernando [mailto:[EMAIL PROTECTED]
>> Sent: donderdag 10 augustus 2006 10:02
>> To: axis-user@ws.apache.org
>> Subject: Re: [Axis2] Configure Rampart dynamically
>>
>> Hi Brecht,
>>
>> Yes it is possible. Please see here:
>> http://marc.theaimsgroup.com/?l=axis-user&m=115517624610919&w=2
>>
>> Thanks,
>> Ruchith
>>
>> On 8/10/06, Brecht Yperman <[EMAIL PROTECTED]> wrote:
>> >
>> >
>> >
>> >
>> > Hi,
>> >
>> >
>> >
>> > how do I configure Rampart dynamically?
>> >
>> >
>> >
>> > I tried something like this, but it does not work...
>> >
>> >
>> >
>> > private void configureSecurity(ServiceClient client) throws AxisFault
>> {
>> >
>> > if (true /*security == on*/) {
>> >
>> >   Parameter parm = new Parameter();
>> >
>> >   parm.setName("OutflowSecurity");
>> >
>> >
>> >
>> >   OMFactory fact = OMAbstractFactory.getOMFactory();
>> >
>> >
>> >
>> >   OMNamespace emptyNS = fact.createOMNamespace(null,
>> "");
>> >
>> >   OMElement actionEl = fact.createOMElement("action",
>> > emptyNS);
>> >
>> >
>> >
>> >   OMElement itemsEl = fact.createOMElement("items",
>> > emptyNS);
>> >
>> >   itemsEl.setText("UsernameToken");
>> >
>> >   actionEl.addChild(itemsEl);
>> >
>> >
>> >
>> >   OMElement userEl = fact.createOMElement("user",
>> emptyNS);
>> >
>> >   userEl.setText("bob");
>> >
>> >   actionEl.addChild(userEl);
>> >
>> >
>> >
>> >   OMElement pwCbEl =
>> > fact.createOMElement("passwordCallbackClass", emptyNS);
>> >
>> >   pwCbEl.setText("CallbackHandler");
>> >
>> >   actionEl.addChild(pwCbEl);
>> >
>> >
>> >
>> >   parm.setParameterElement(actionEl);
>> >
>> >
>> >
>> >   client.engageModule(new QName("rampart-1.0"));
>> >
>> > }
>> >
>> >   }
>> >
>> >
>> >
>> > Thanks,
>> >
>> > Brecht
>> >
>> >
>> >
>> > Invenso - The "Integration Software" specialists.
>> >  _
>> >
>> > Brecht Yperman
>> >  Development team
>> >
>> >  Direct: +32 (0)3 780 30 05
>> >  Email: [EMAIL PROTECTED]
>> >
>> > INVENSO bvba
>> >  Industriepark-West 75
>> >  9100 Sint-Niklaas
>> >  Belgium - Europe
>> >
>> >  Phone: +32 (0)3 780 30 02
>> >  Fax: +32 (0)3 780 30 03
>> >  Email: [EMAIL PROTECTED]
>> >  Website: www.invenso.com
>> >
>> > "E-mail disclaimer: This e-mail, and any attachments thereto, is
>> intended
>> > only for use by the addressee(s) named herein and may contain legally
>> > privileged and/or confidential information. If you are not the
>> intended
>> > recipient, please note that any review, dissemination, disclosure,
>> > alteration, printing, copying or transmission of this e-mail and/or
>> any file
>> > transmitted with it, is strictly prohibited and may be unlawful. If
>> you have
>> > received this e-mail by mistake, please immediately notify the sender
>> and
>> > permanently delete the original as well as any copy of an

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]


Re: Any Example which shows How to use certificate for securing web services

2006-08-20 Thread Ruchith Fernando

Also have a look at :

http://www.wso2.net/presentations/wss4j/java/2006/08/04/apache-rampart

This is presentation along with a set of 11 examples on using Rampart.

Thanks,
Ruchith

On 8/19/06, Martin Gainty <[EMAIL PROTECTED]> wrote:

You can secure your service with Rampart take a look at
http://ws.apache.org/axis2/modules/rampart/1_0/security-module.html

HTH
M-
*
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.




> Hi All,
>   I would really appreciate if somebody could
> point me to example or documentation for securing
> services using certificates.Thanks for any help.
>
>
> Kash
>
> __
> 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]
>
>



--
www.ruchith.org

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



Re: how do I use a client security certificate with client side axis program?? please respond

2006-08-20 Thread Ruchith Fernando

Hi,

If you are using axis 1.x use WSS4J... You should be able to use
this[1] as a reference.

Thanks,
Ruchith

[1] http://ws.apache.org/wss4j/package.html

On 8/19/06, Hussain, Asim <[EMAIL PROTECTED]> wrote:









--
www.ruchith.org

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