RE: Consuming web services over SSL using AXIS 1.2.1 -- How to?

2005-08-24 Thread Gary Zhu
Thank you very much.

Gary

-Original Message-
From: Kr [mailto:[EMAIL PROTECTED] 
Sent: August 24, 2005 8:53 AM
To: axis-user@ws.apache.org
Subject: Re: Consuming web services over SSL using AXIS 1.2.1 -- How to?

1. import the service provider certificate in ur trust store.

2. set below properties in ur web services client program: 

System.setProperty("java.protocol.handler.pkgs","com.ibm.net.ssl.interna
l.www.protocol");
Security.addProvider(new JSSEProvider());

System.setProperty("javax.net.ssl.trustStore","mykeystore.ks");
System.setProperty("javax.net.ssl.trustStorePassword",
"mystorepassword");

// if u behind a firewall proxy then set below
System.setProperty("http.proxyHost", "140.4236.2435.47");
System.setProperty("http.proxyPort", "31248");


Consuming web services over SSL using AXIS 1.2.1 -- How to?

2005-08-24 Thread Gary Zhu



Hi all, 

 
I have a need to 
consume .NET web services over SSL using AXIS 1.2.1. What are the steps involved 
in accomplishing this?
 
My systems look like 
this: Apache WebServer 2.0.52 together with mod_jk for loadbalancing, tomcat 
5.5.9 cluster where AXIS 1.2.1 and webservices are deployed.
 
Where should the 
trust certificate go? What code modifications are needed? Is this the same thing 
as making connection to an URL through HTTPS in Java?
 
Thanks in 
advance.
 
Gary


Issue with .NET client consuming a AXIS WS

2005-07-13 Thread Gary Zhu



Hi all, 

 
I deployed a WS on 
AXIS and was able to consume it through AXIS client. However, .NET client 
seems to be having problems consuming the AXIS web service and is getting a 
timeout error. Your help is appreciated. 
 
Attached is the WSDL 
for the WS, and WSDD file. 
 
Thanks in 
advance.
 
Gary

http://www2.timeicr.com/ws/services/OutdialService"; 
xmlns:apachesoap="http://xml.apache.org/xml-soap"; 
xmlns:impl="http://www2.timeicr.com/ws/services/OutdialService"; 
xmlns:intf="http://www2.timeicr.com/ws/services/OutdialService"; 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:tns1="urn:OutdialService" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
 
  http://www.w3.org/2001/XMLSchema";>
   http://schemas.xmlsoap.org/soap/encoding/"/>
   

 
 
 
 
 
 
 
 
 
 
 
 

   
  
 

   

  

   

   

  

   

   

  

 

 

  

   

   

  http://schemas.xmlsoap.org/soap/http"/>

  

 

 

http://schemas.xmlsoap.org/soap/encoding/"; 
namespace="http://centract.webservices.timeicr.com"; use="encoded"/>

 

 

http://schemas.xmlsoap.org/soap/encoding/"; 
namespace="http://www2.timeicr.com/ws/services/OutdialService"; use="encoded"/>

 

  

   

   

  

 http://www2.timeicr.com/ws/services/OutdialService"/>

  

   




deploy.wsdd
Description: deploy.wsdd


RE: Problem setting up Axis

2005-06-29 Thread Gary Zhu
You can copy the tools.jar and put it under your Axis context. You need to 
restart Tomcat for it to work.

Gary 

-Original Message-
From: Miller, Janet [mailto:[EMAIL PROTECTED] 
Sent: June 29, 2005 11:21 AM
To: axis-user@ws.apache.org
Subject: RE: Problem setting up Axis

I've done all of this.  My Axis happy page displays correctly, but when I try 
to access a sample JWS web service that comes with Axis as follows:

http://localhost:8080/axis/EchoHeaders.jws?method=list 

I get the following error:

  soapenv:Server.userException
  java.lang.RuntimeException: No compiler found in your classpath! 
(you may need to add 'tools.jar') 

How does Axis know where the Java compiler is?  I thought it used CLASSPATH and 
AXISCLASSPATH which I think I have set up properly since I got wsdl2Java to 
work.  Do I need to put tools.jar somewhere?

I tried adding tools.jar to the tomcat\common\lib directory, but that didn't 
work either.

I'm using Tomcat 5.5.9, Java 1.5.0.03, and Axis 1.2.1.

Does anyone know why I'm having this problem?

Jan

-Original Message-
From: Ferruh Zamangoer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 28, 2005 3:16 AM
To: axis-user@ws.apache.org
Subject: AW: Problem setting up Axis


The best way to set up axis is to copy axis-1_2/webapps/axis into your tomcat 
\Apache Group\Tomcat 4.1\webapps folders.




-Ursprüngliche Nachricht-
Von: Ferruh Zamangoer [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 28. Juni 2005 08:52
An: axis-user@ws.apache.org
Betreff: AW: Problem setting up Axis

Hi Janet,

if you have downloaded the axis-1_2.zip binaries you can extract this file. 
After you have extracted you have a folder structure like:

- axis-1_2
   - docs
   - lib
   - samples
   - webapps
   - xmls

Normally the wsdl4j.jar must be in lib directory, otherwise you can look at 
axis-1_2\webapps\axis\WEB-INF\lib. The wsdl4j.jar is used in AXIS to generate 
Java code from WSDL and to generate WSDL from Java.

Hope it helps.

Regards
Ferruh




-Ursprüngliche Nachricht-
Von: Miller, Janet [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 28. Juni 2005 01:05
An: axis-user@ws.apache.org
Betreff: RE: Problem setting up Axis

I am also missing a file called wsdl4j.jar which the Axis documentation says is 
supposed to be in my CLASSPATH and AXISCLASSPATH.  I've installed everything 
and don't have this file on my machine.  Where does this file come from?  Could 
someone check to see if this file exists on your machine?  It is supposed to be 
in the \webapps\axis\WEB-INF\lib directory.

I can't get Axis to work.  The happyAxis page is displaying properly though.

Thanks,

Jan



Tutorial or docs on WSDD and WSDL

2005-06-22 Thread Gary Zhu



Hi all, 

 
Your direction to 
docs on WSDD and WSDL is needed to speed up my attempt to deploy a web service 
using AXIS. 
 
Thanks.
 
Gary


RE: Java Client, .NET server... and the Oreilly book...

2005-03-30 Thread Gary Zhu
We are using AXIS to consume .NET WS with authentication. The trick is
to satisfy the Credentials requirement in .NET WS header. Therefore,
instead of generating proxy/stubs, we used custom envelope and it works
fine. Have a look at the sample "misc/TestClient.java" bundled with AXIS
distribution. 

Gary 

-Original Message-
From: John Windberg [mailto:[EMAIL PROTECTED] 
Sent: March 30, 2005 1:34 AM
To: axis-user@ws.apache.org
Subject: Java Client, .NET server... and the Oreilly book...

So, has anyone actually written a web service client that can
communicate with a .NET server?

I'd love proof that it can be done. So far I've seen references to
things the other way around, and pointers to classes that don't actually
exist in the
1.1 axis jar.

I suppose most people using axis are written services, and I look
forward to doing that myself, but right now, it's clients, and what I
need to talk to is a Microsoft SharePoint server...

My only working code so far is based on the classes generated from
WSDL2Java for a public exchange rate service. No security involved.
Create a service, get an endpoint, get a call, add some parameters,
invoke the call. What am I suppose to do with a with a "Sender"?

On that note, anyone know what's up with the programming axis book from
Oreilly? I pre-ordered it from amazon, but its not been listed as
available yet, and I could not find it on oreilly's site.