RE: [Axis1.3] Specify Custom WSDL for ?wsdl URL's

2006-12-22 Thread subir.sasikumar

Hi,

 

You can write custom wsdls and deploy them using wsdlFile ... /wsdlFile

 

Refer Axis documentation for more details.

 

Regards,

Subir S

 



From: Ðavîd Låndïs [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 22, 2006 11:02 PM
To: axis-user@ws.apache.org
Subject: [Axis1.3] Specify Custom WSDL for ?wsdl URL's

 

Hello,

My project uses Axis 1.3 with a lot of success currently. One issue is the WSDL 
file we use to generate stubs is different from the one that is auto-generated 
when you browse to the axis servlet and use the ?wsdl notation. 

This is because when we generate the WSDL (we generate everything in this 
project) we use the 'extraclasses' attribute to specify extra types to include 
in the WSDL not reachable from the service implementation class. 

I would like to specify in the WSDD file which WSDL file the axis servlet 
should display, e.g. not the one that is generated on-the-fly. Is this 
possible?? Otherwise the one publicly available will not be usable!! 

Thanks,
Dave




The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.
 
www.wipro.com

RE: Reg type declaration in WSDLs

2006-12-20 Thread subir.sasikumar

Are there no Axis Gurus to answer my question?

I could not find anything on the internet either related to this?

 

Hope some one has some knowledge on this!

 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 20, 2006 10:23 AM
To: axis-user@ws.apache.org
Subject: Reg type declaration in WSDLs

 

 

Hi,

 

Can somebody tell me what is the difference between a) [xsd:byte[][]]
and b) [xsd:base64binary[]]

 

a.) This is generated by Axis (?wsdl)

 

complexType
name=ArrayOf_xsd_base64Binary

complexContent

restriction
base=soapenc:Array

 
attribute ref=soapenc:arrayType wsdl:arrayType=xsd:byte[][]/

 
/restriction

/complexContent

/complexType

 

 

b) This is what I thought should be there

 

complexType
name=ArrayOf_xsd_base64Binary

complexContent

restriction
base=soapenc:Array

 
attribute ref=soapenc:arrayType wsdl:arrayType=xsd:base64binary[]/

 
/restriction

/complexContent

/complexType

 

Any suggestions or ideas would be great!!!

 

Thanks in advance,

 

Regards,

Subir S

 


The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.

www.wipro.com


The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.

www.wipro.com




The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.
 
www.wipro.com

RE: Reg type declaration in WSDLs

2006-12-20 Thread subir.sasikumar

Thanks Jeff for the reply.

I infact broke my head yesterday with SOAP spec and Axis Code (a little
bit). I could not figure out the exact reason.

Any way I hope I find it out some day, then I will share with the group.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Jeff Greif
Sent: Wednesday, December 20, 2006 11:42 PM
To: axis-user@ws.apache.org
Subject: Re: Reg type declaration in WSDLs

While not a guru in this particular area, I'd consider it a bug that
the stronger type xsd:base64binary[] is not used.  This type gives
implicit instructions about how to process it when you receive it
(I.e. with a base64 decoder), instructions which are missing in the
type byter[][].

However, the authoritative spec for this, with all its ambiguities and
errors, it the soap encoding spec.  There may be some reason in there
that Axis generates the weaker type.

Jeff

On 12/20/06, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:




 Are there no Axis Gurus to answer my question?

 I could not find anything on the internet either related to this?



 Hope some one has some knowledge on this!



   


 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, December 20, 2006 10:23 AM
  To: axis-user@ws.apache.org
  Subject: Reg type declaration in WSDLs





 Hi,



 Can somebody tell me what is the difference between a) [xsd:byte[][]]
and b) [xsd:base64binary[]]



 a.) This is generated by Axis (?wsdl)



 complexType
name=ArrayOf_xsd_base64Binary

 complexContent


restriction base=soapenc:Array


attribute ref=soapenc:arrayType wsdl:arrayType=xsd:byte[][]/


/restriction

 /complexContent

 /complexType





 b) This is what I thought should be there



 complexType
name=ArrayOf_xsd_base64Binary

 complexContent


restriction base=soapenc:Array


attribute ref=soapenc:arrayType wsdl:arrayType=xsd:base64binary[]/


/restriction

 /complexContent

 /complexType



 Any suggestions or ideas would be great!!!



 Thanks in advance,



 Regards,

 Subir S



  The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
addressee(s) and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately and destroy all copies of this message and any attachments.

  WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.

  www.wipro.com


  The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
addressee(s) and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately and destroy all copies of this message and any attachments.

  WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.

  www.wipro.com


  The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
addressee(s) and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately and destroy all copies of this message and any attachments.

  WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.

  www.wipro.com


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



The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 


[Axis1.2.x] Reg complex type declaration in WSDLs

2006-12-19 Thread subir.sasikumar

Hi,

 

Can somebody tell me what is the difference between a) [xsd:byte[][]]
and b) [xsd:base64binary[]]

 

a.) This is generated by Axis (?wsdl)

 

complexType
name=ArrayOf_xsd_base64Binary

complexContent

restriction
base=soapenc:Array

 
attribute ref=soapenc:arrayType wsdl:arrayType=xsd:byte[][]/

 
/restriction

/complexContent

/complexType

 

 

b) This is what I thought should be there

 

complexType
name=ArrayOf_xsd_base64Binary

complexContent

restriction
base=soapenc:Array

 
attribute ref=soapenc:arrayType wsdl:arrayType=xsd:base64binary[]/

 
/restriction

/complexContent

/complexType

 

Any suggestions or ideas would be great!!!

 

Thanks in advance,

 

Regards,

Subir S

 




The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.
 
www.wipro.com

Reg type declaration in WSDLs

2006-12-19 Thread subir.sasikumar

 

Hi,

 

Can somebody tell me what is the difference between a) [xsd:byte[][]]
and b) [xsd:base64binary[]]

 

a.) This is generated by Axis (?wsdl)

 

complexType
name=ArrayOf_xsd_base64Binary

complexContent

restriction
base=soapenc:Array

 
attribute ref=soapenc:arrayType wsdl:arrayType=xsd:byte[][]/

 
/restriction

/complexContent

/complexType

 

 

b) This is what I thought should be there

 

complexType
name=ArrayOf_xsd_base64Binary

complexContent

restriction
base=soapenc:Array

 
attribute ref=soapenc:arrayType wsdl:arrayType=xsd:base64binary[]/

 
/restriction

/complexContent

/complexType

 

Any suggestions or ideas would be great!!!

 

Thanks in advance,

 

Regards,

Subir S

 


The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.

www.wipro.com




The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.
 
www.wipro.com

RE: Accessing axis2 based web service with https

2006-12-19 Thread subir.sasikumar

Hi Gul,

 

Then I have created a certificate using keytool and imported it into 
client's truststore. 

I assume that if you don't need client authentication, then there is no need to 
create another certificate for client.

The tomcat servers certificate should be imported to your clients truststore.

 

If both client and server authentication is needed then your clients 
certificate should be imported in your server's keystore.

 

And all this is needed only if your certificates are self-signed.

 

Others any different opinions???

 

Regards,

Subir S



From: Gul Onural [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 20, 2006 2:45 AM
To: axis-user@ws.apache.org; Martin Gainty
Subject: RE: Accessing axis2 based web service with https

 

Thanks Martin.

 

My understanding is that the keyStore and keyStorePassword are required on the 
server side, not in the client side.

That is why I haven't set these attributes in the client code. 

 

Is my understanding wrong ?

 

The keytool -list properly lists my certificate by the way, but client cannot 
invoke any operations through https..

 

Is there anyone successfully used https to invoke any web service operation 
using Axis2 1.1 release or nightly ?

If yes, can you share the details ? Thanks,

 

Gul

 

 



From: Martin Gainty [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 19, 2006 3:53 PM
To: axis-user@ws.apache.org
Subject: Re: Accessing axis2 based web service with https

I didnt see jeyStore and keyStorePassword attributes

javax.net.ssl.keyStore /*full path to .ks (Keysore) file*/

javax.net.ssl.keyStorePassword /*Password that protects keyfile */

also..

if you had used this command to import the cert NameOfCert.crt into the keyfile 
NameOfKeyStoreFile

keytool -import 

-keystore NameOfKeyStoreFile





-alias cert_server 

-storepass changeit

-file NameOfCert.crt

then you should verify the certificate is properly imported into keystore with

keytool -list -keystore NameOfKeyStoreFile 

-alias cert_server

-storepass changeit 

-v
Anyone else?

M-

--- 
This e-mail message (including attachments, if any) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.

- Original Message - 

From: Gul Onural mailto:[EMAIL PROTECTED]  

To: axis-user@ws.apache.org 

Sent: Tuesday, December 19, 2006 3:22 PM

Subject: Accessing axis2 based web service with https 

 

 

Hi, 

I have followed tomcat https/ssl configuration document under 
http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html 
http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html  
to configure tomcat for https/ssl. 

Then I have created a certificate using keytool and imported it into 
client's truststore. 

I have added the following two properties to my client code : 
System.setProperty(javax.net.ssl.trustStore, truststore path); 
System.setProperty(javax.net.ssl.trustStorePassword, password); 

I am using Axis2 1.1 branch nightly and getting PKIX path building 
failed exception. 
What else needs to be done to get the a client working with https ? 

Gul 

 

INFO: I/O exception (org.apache.axis2.AxisFault) caught when processing 
request: sun.security.validator.ValidatorExce 
ption: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification 

path to requested target; nested exception is: 
com.ctc.wstx.exc.WstxIOException: 
sun.security.validator.ValidatorException: PKIX path building failed: sun.s 
ecurity.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target 
Dec 19, 2006 3:12:45 PM 
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry 
INFO: Retrying request 




The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not 

RE: Java2WSDL can't expand other interfaces referenced from an interface?

2006-11-11 Thread subir.sasikumar








Hi Sonali,



Can you try using -a,
--all 

If this option is
specified, the Java2WSDL parser will look into extended classes to determine
the list of methods to export into the WSDL file. 

Or 

-e, --extraClasses argument 

Specify a space or
comma seperated list of class names which should be included in the types section of the WSDL document. This is
useful in the case where your service interface references a base class and you
would like your WSDL to contain XML Schema type defintions for these other
classes. The --extraClasses option can be specified duplicate times. Each
specification results in the additional classes being added to the list. 

Because you havent
told the details of how your service references other interfaces, it is not
possible to tell which one you should use.



I hope this helps.



Thanks,

Subir S











From: Sonali J.
Kanaujia [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 10, 2006
8:31 PM
To: axis-user@ws.apache.org
Subject: RE: Java2WSDL can't
expand other interfaces referenced from an interface?







I'm using the following
Java2WSDLoptions:











java org.apache.axis.wsdl.Java2WSDL -o
MgmtAPI.wsdl -w Interface -n http://www.sonicsw.com/bpel/runtime/mgmtapi
-pcom.sonicsw.bpel.service.mgmtapi.runtime http://www.sonicsw.com/bpel/runtime/mgmtapi
-y DOCUMENT com.sonicsw.bpel.service.mgmtapi.runtime.IBPELServiceOperations



-Sonali



-


 
  
  From
  
  
  [EMAIL PROTECTED]
  
 
 
  
  Subject
  
  
  RE: Java2WSDL can't expand other interfaces
  referenced from an interface?
  
 
 
  
  Date
  
  
  Fri, 10 Nov 2006 05:03:20 GMT
  
 
 
  Can you post your java2wsdl task and let us know what options you areusing?
 













The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com


RE: Java2WSDL can't expand other interfaces referenced from an interface?

2006-11-11 Thread subir.sasikumar








Also if that does
not work then you can refer [1] for more details.



[1] http://ws.apache.org/axis/java/reference.html#Java2WSDLReference












From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 12, 2006
11:45 AM
To: axis-user@ws.apache.org
Subject: RE: Java2WSDL can't
expand other interfaces referenced from an interface?





Hi Sonali,



Can you try using -a,
--all 

If this option is
specified, the Java2WSDL parser will look into extended classes to determine
the list of methods to export into the WSDL file. 

Or 

-e, --extraClasses argument 

Specify a space or
comma seperated list of class names which should be included in the types section of the WSDL document. This is
useful in the case where your service interface references a base class and you
would like your WSDL to contain XML Schema type defintions for these other
classes. The --extraClasses option can be specified duplicate times. Each
specification results in the additional classes being added to the list. 

Because you
havent told the details of how your service references other interfaces,
it is not possible to tell which one you should use.



I hope this helps.



Thanks,

Subir S











From: Sonali J.
Kanaujia [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 10, 2006
8:31 PM
To: axis-user@ws.apache.org
Subject: RE: Java2WSDL can't
expand other interfaces referenced from an interface?







I'm using the following
Java2WSDLoptions:











java org.apache.axis.wsdl.Java2WSDL -o
MgmtAPI.wsdl -w Interface -n http://www.sonicsw.com/bpel/runtime/mgmtapi
-pcom.sonicsw.bpel.service.mgmtapi.runtime http://www.sonicsw.com/bpel/runtime/mgmtapi
-y DOCUMENT com.sonicsw.bpel.service.mgmtapi.runtime.IBPELServiceOperations



-Sonali



-


 
  
  From
  
  
  [EMAIL PROTECTED]
  
 
 
  
  Subject
  
  
  RE: Java2WSDL can't expand other interfaces
  referenced from an interface?
  
 
 
  
  Date
  
  
  Fri, 10 Nov 2006 05:03:20 GMT
  
 
 
  Can you post your java2wsdl task and let us know what options you areusing?
 












The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com


RE: webservice over https - No trusted certificate found

2006-11-10 Thread subir.sasikumar








Hi,



You imported your
server certificates to /usr/j2sdk1.4.2_09/jre/lib/security/cacerts
and have given some other keystore path
while deploying your webservice in -Djavax.net.ssl.keyStore=/home/sincrho/server.keystore.




Could this be the
problem?



I hope you
understand that importing your self-signed certificate to java keystore is to
make it a trusted one.



Regards,

Subir S











From: Carl Gustaf
Hjelt Liebe [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 10, 2006
5:51 PM
To: axis-user@ws.apache.org;
[EMAIL PROTECTED]
Subject: Re: webservice over https
- No trusted certificate found





What providers have you
listed in the java.security file ?



On 11/10/06, Philippe
Vandenhove [EMAIL PROTECTED]
 wrote:

Hello,

I have to develop a webservice (Axis) over https. 
Unfortunatelly, i have a problem during the deployment of the webservice. 
Here is the command followed by the stack trace:

java -Djavax.net.ssl.keyStore=/home 



/sincrho/server.keystore -Djavax.net.ssl.keyStorePassword=changeit

-cp ./lib/axis.jar:./lib/wsdl4j-1.5.1.jar:./lib/jaxrpc.jar:./lib/saaj.jar:./lib/commons-logging-1.0.4.jar:
./lib/commons-discovery-0.2.jar:./lib/activation.jar:./lib/mail.jar
org.apache.axis.client.AdminClient -l 
https://sincrho-staging.irisnet.be/sincrho/services/AdminService
./classes/webservices/cees/deploy.wsdd 

Processing file ./classes/webservices/cees/deploy.wsdd
Exception: AxisFault
faultCode: { http://schemas.xmlsoap.org/soap/envelope/}Server.userException

faultSubcode: 
faultString: javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: No trusted certificate found
faultActor: 
faultNode: 
faultDetail: 
 {
http://xml.apache.org/axis/}stackTrace:javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: No trusted certificate found
 at
com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA12275) 
 at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
 at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
 at
com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA12275)
 at
com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA12275)
 at
com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA12275)
 at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
 at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.j (DashoA12275)
 at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA12275)
 at
org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)
 at
org.apache.axis.transport.http.HTTPSender.getSocket (HTTPSender.java:191)
 at
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
 at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
 at
org.apache.axis.strategies.InvocationStrategy.visit
(InvocationStrategy.java:32)
 at
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
 at
org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
 at org.apache.axis.client.AxisClient.invoke
(AxisClient.java:165)
 at
org.apache.axis.client.Call.invokeEngine(Call.java:2784)
 at
org.apache.axis.client.Call.invoke(Call.java:2767)
 at
org.apache.axis.client.Call.invoke(Call.java:1792) 
 at
org.apache.axis.client.AdminClient.process(AdminClient.java:439)
 at
org.apache.axis.client.AdminClient.process(AdminClient.java:404)
 at
org.apache.axis.client.AdminClient.process(AdminClient.java :410)
 at org.apache.axis.client.AdminClient.process(AdminClient.java:320)
 at
org.apache.axis.client.AdminClient.main(AdminClient.java:463)
Caused by: sun.security.validator.ValidatorException: No trusted certificate
found 
 at
sun.security.validator.SimpleValidator.buildTrustedChain(SimpleValidator.java:304)
 at
sun.security.validator.SimpleValidator.engineValidate(SimpleValidator.java:107)
 at
sun.security.validator.Validator.validate (Validator.java:202)
 at
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(DashoA12275)
 at
com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(DashoA12275)
 ... 22 more 

 {http://xml.apache.org/axis/}hostname:SincrhoSta.irisnet.be 



I have create my self signed certificate like this :
  
 //create certificate and also the .keystore file 
 keytool -genkey -storepass changeit -keyalg DSA -alias
tomcat -dname CN=
mindprod.com, OU=Java Code, O=Canadian Mind Products, L=Victoria,
ST=British Columbia, C=CA, EMAILADDRESS= [EMAIL PROTECTED] DC=mindprod, DC=com -validity 999

 keytool -selfcert -storepass changeit -alias
tomcat -validity 999 

 keytool -export -storepass changeit -alias tomcat -rfc
-file /home/sincrho/myCertificate.cer 

 //import in cacerts file 
 keytool -import -keystore /usr/j2re1.4.2_09/lib/security/cacerts
-storepass changeit -alias tomcat -file /home/sincrho/myCertificate.cer
 keytool -import -keystore /usr/j2re1.4.2_09/javaws/cacerts
-storepass changeit -alias tomcat -file /home/sincrho/myCertificate.cer 
 keytool -import -keystore
/usr/j2sdk1.4.2_09/jre/lib/security/cacerts -storepass changeit -alias 

RE: Java2WSDL can't expand other interfaces referenced from an interface?

2006-11-09 Thread subir.sasikumar
Title: Re: [Axis2] Help using AXIOMXPath








Can you post your
java2wsdl task and let us know what options you are using?











From: Sonali J.
Kanaujia [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 09, 2006
9:58 PM
To: axis-user@ws.apache.org
Subject: RE:Java2WSDL can't expand
other interfaces referenced from an interface?







Re-sending the issue. Pleaserespond
how to expand referenced interfaces, using Java2WSDL. 











Thanks,





Sonali















From: Sonali J.
Kanaujia [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 08, 2006
9:31 PM
To: axis-user@ws.apache.org
Subject: Java2WSDL can't expand
other interfaces referenced from an interface?

Hi,

I'm using Axis 1.2.1 Java2WSDL tool on an interface that has
methods that reference other interfaces. When I run the tool it complains that
it can't convert the other interfaces toxml schema types as they are not
beans classes (See error/warning below).

Is there anyoption/mechanism
toauto-convertother interfaces to portTypes(?) and related xml
schema elements as well, except converting all the referenced interfaces to
impl bean classes.

-Sonali

Nov 8, 2006 3:23:44 PM
org.apache.axis.wsdl.fromJava.Emitter writePartToMessage 



WARNING: Please register a typemapping/beanmapping for
[Lcom.sonicsw.bpel.service.mgmtapi.runtime.IProcessInstanceCounts;'
Nov 8, 2006 3:23:44 PM org.apache.axis.wsdl.fromJava.Types isBeanCompatible





WARNING: The class
com.sonicsw.bpel.service.mgmtapi.runtime.IProcessInstanceCounts does not
contain a default constructor, which is a requirement for a bean class.
The class cannot be converted into an xml schema type. An xml schema
anyType will be used to define this class in the wsdl file.










The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com


RE: problem with https

2006-11-06 Thread subir.sasikumar








Hi Abid,



Oops I really misread your query. I
thought you said that you cannot access the webservices deployed in https
enabled server.



Well for your query [I hope you are not able to deploy
your webservices from a remote place], please enable the remote admin related
parameter for the adminservice in server-config.wsdd



service name=AdminService
provider=java:MSG

 parameter name=allowedMethods
value=AdminService/

 parameter
name=enableRemoteAdmin value=false/ [This is
default false for security. Make it true in your
server]

 parameter name=className
value=org.apache.axis.utils.Admin/


namespacehttp://xml.apache.org/axis/wsdd//namespace

/service



I hope this helps.



Thanks 

Subir 



-Original Message-
From: Abid Hussain [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 06, 2006 5:46 PM
To: axis-user@ws.apache.org
Subject: Re: problem with https



Hallo again,



thanks for helping me.



 Is it a standard server, third party server (I
mean the certificates are

 standard ones)?

Actually I'm not sure, what you mean by standard
respectively third 

party server. It's a Tomcat 5.5 and it's using a
Thawte Certificate.

 OR

 Is it a test server (where you might have
generated the test server

 certificate)?

No, it's not a test server.

 

 One more thing is your server expecting client
authentication also?

The server is inside a VPN. But the machine which I'm
trying tor run the 

deployment from is part of the VPN. Besides from this,
there is no 

authentication necessary.



I don't know if it's important for the subject, but
here is the relevant 

part from the web.xml.



?xml version=1.0
encoding=UTF-8?

web-app ...

 !--
 --

 servlet

 display-name

 Apache-Axis
Servlet/display-name

 servlet-nameAxisServlet/servlet-name

 servlet-class

 org.apache.axis.transport.http.AxisServlet/servlet-class

 /servlet

 servlet

 display-name

 Axis
Admin Servlet/display-name

 servlet-nameAdminServlet/servlet-name

 servlet-class

 org.apache.axis.transport.http.AdminServlet/servlet-class

 load-on-startup100/load-on-startup

 /servlet



 !--
 --



 servlet-mapping

 servlet-nameAxisServlet/servlet-name

 url-pattern/servlet/AxisServlet/url-pattern

 /servlet-mapping

 servlet-mapping

 servlet-nameAxisServlet/servlet-name

 url-pattern*.jws/url-pattern

 /servlet-mapping

 servlet-mapping

 servlet-nameAxisServlet/servlet-name

 url-pattern/services/*/url-pattern

 /servlet-mapping

 servlet-mapping

 servlet-nameAdminServlet/servlet-name

 url-pattern/servlet/AdminServlet/url-pattern

 /servlet-mapping

 !--
 --

/web-app



Best regards,



Abid Hussain



 

 Regards,

 Subir S

 

 -Original Message-

 From: Abid Hussain
[mailto:[EMAIL PROTECTED]

 

 Sent: Friday, November 03, 2006 9:52 PM

 To: axis-user@ws.apache.org

 Subject: problem with https

 

 Hi everybody,

 

 I am new to axis and have a problem deploying my
Webservice. I am using

 

 Axis 1.3 and get always an error when trying to
deploy it on the remote

 

 server. I think it is because the server is only
accessible via HTTPS -

 

 when I deploy it on my local machine everything
goes fine. Axis always

 

 responds with 401 unauthorized.

 

 Would be very happy, if someone could help me :-)

 

 My Ant Script looks like this:

 target name=installWebservice

  mkdir
dir=WebContent/wsdl /

  java
classname=org.apache.axis.wsdl.Java2WSDL fork=true

 

 classpathref=axis.classpath
failonerror=true

  arg
line=-o WebContent/wsdl/ModuleWS.wsdl /

  arg
line=-l


https://xxx.yyy:16384/modulverwaltung/services/ModuleWS/

  arg
line=-n urn:ModuleWS /

  arg
line=modulverwaltung.service.ModuleWSImpl /

  /java

  java
classname=org.apache.axis.wsdl.WSDL2Java fork=true

 

 classpathref=axis.classpath

  arg
line=-s WebContent/wsdl/ModuleWS.wsdl /

  arg
line=-o src /

  arg
line=-p modulverwaltung.service.ws /

  /java

  !--
other operations... --

 /target

 

 Until here everything goes fine.

 No I install the .war File where my Webapp and
all the Axis stuff is

 

 included on the server. After that, I try deploy
the Webservice using

 

 following script:

 target name=deployWebservice

  java
classname=org.apache.axis.client.AdminClient fork=true

 

 classpathref=axis.classpath
failonerror=true

  arg
line=-l


https://xxx.yyy:16384/modulverwaltung/servlet/AxisServlet

 

 WebContent/WEB-INF/ModuleWS/deploy.wsdd
/

  /java

 /target

 

 But the deployment fails. The Message is:

 [java] Processing file
WebContent/WEB-INF/ModuleWS/deploy.wsdd

 [java] Exception: AxisFault

 [java] faultCode:
{http://xml.apache.org/axis/}HTTP

 [java] faultSubcode:

 [java] faultString: (401)Unauthorized

 [java] faultActor:

 [java] faultNode:

 [java] faultDetail:

 [java] {}:return code: 401

 [java] lt;?xml version=quot;1.0quot;

 


encoding=quot;utf-8quot;?gt;lt;soapenv:Envelope

 

 xmlns:soapenv=quot;http://schemas.xmlsoap.

 org/soap/envelope/quot;

 



RE: problem with https

2006-11-06 Thread subir.sasikumar

Hi Abid,

You can use the deploy.wsdd that may be generated using your java2wsdl
task. (with option -s or -S..i don't remember exactly).
Now deploy your web services using the deployment ant task that you use.
This would generate a new WEB-INF/server-config.wsdd file with your
latest service changes (it appends your service changes). Now just make
a war file of this (including the server-config and install in your
server. This means that already the configuration of the services to be
deployed would be part of your war file.

So then it will be automatically deployed when your server starts up.

I hope this helps.

Regards,
Subir S

-Original Message-
From: Abid Hussain [mailto:[EMAIL PROTECTED]
Sent: Monday, November 06, 2006 7:33 PM
To: axis-user@ws.apache.org
Subject: Re: problem with https

Hi again,

thanks for giving me the hint to enable the remote administration.

As I said, I'm new to Axis and maybe I have misunderstood the deployment

of services.

Like I described below, I deploy the service in the following order:
1. Install the webservice in my webapp using java2wsdl and wsdl2java.
2. Install the webapp-war on the remote server.
3. Deploy the service by remote access using
org.apache.axis.client.AdminClient.

Is it possible to deploy the service locally BEFORE installing the
webapp on the remote server? Like this:
1. Install the webservice in my webapp using java2wsdl and wsdl2java.
2. Deploy the service in the webapp.
3. Install the webapp-war on the remote server.

Because then, the problem maybe would be solved easily.

Regards,

Abid

[EMAIL PROTECTED] schrieb:
 Hi Abid,

 

 /Oops I really misread your query. I thought you said that you cannot
 access the webservices deployed in https enabled server./

 

 Well for your query [I hope you are not able to deploy your
webservices
 from a remote place], please enable the remote admin related parameter

 for the adminservice in server-config.wsdd

 

 service name=AdminService provider=java:MSG

   parameter name=allowedMethods value=AdminService/

 *  parameter name=enableRemoteAdmin value=false/ [This is
default
 'false' for security. Make it 'true' in your server]*

   parameter name=className value=org.apache.axis.utils.Admin/

   namespacehttp://xml.apache.org/axis/wsdd//namespace

  /service

 

 I hope this helps.

 

 Thanks

 Subir

 

 -Original Message-
 From: Abid Hussain [mailto:[EMAIL PROTECTED]
 Sent: Monday, November 06, 2006 5:46 PM
 To: axis-user@ws.apache.org
 Subject: Re: problem with https

 

 Hallo again,

 

 thanks for helping me.

 

  Is it a standard server, third party server (I mean the certificates
are

  standard ones)?

 Actually I'm not sure, what you mean by standard respectively third

 party server. It's a Tomcat 5.5 and it's using a Thawte Certificate.

  OR

  Is it a test server (where you might have generated the test server

  certificate)?

 No, it's not a test server.



  One more thing is your server expecting client authentication also?

 The server is inside a VPN. But the machine which I'm trying tor run
the

 deployment from is part of the VPN. Besides from this, there is no

 authentication necessary.

 

 I don't know if it's important for the subject, but here is the
relevant

 part from the web.xml.

 

 ?xml version=1.0 encoding=UTF-8?

 web-app ...

   !--  --

   servlet

display-name

Apache-Axis Servlet/display-name

servlet-nameAxisServlet/servlet-name

servlet-class

   
 org.apache.axis.transport.http.AxisServlet/servlet-class

   /servlet

   servlet

display-name

Axis Admin Servlet/display-name

servlet-nameAdminServlet/servlet-name

servlet-class

   
 org.apache.axis.transport.http.AdminServlet/servlet-class

load-on-startup100/load-on-startup

   /servlet

 

   !--  --

 

   servlet-mapping

servlet-nameAxisServlet/servlet-name

url-pattern/servlet/AxisServlet/url-pattern

   /servlet-mapping

   servlet-mapping

servlet-nameAxisServlet/servlet-name

url-pattern*.jws/url-pattern

   /servlet-mapping

   servlet-mapping

servlet-nameAxisServlet/servlet-name

url-pattern/services/*/url-pattern

   /servlet-mapping

   servlet-mapping

servlet-nameAdminServlet/servlet-name

url-pattern/servlet/AdminServlet/url-pattern

   /servlet-mapping

   !--  --

 /web-app

 

 Best regards,

 

 Abid Hussain

 



  Regards,

  Subir S



  -Original Message-

  From: Abid Hussain [mailto:[EMAIL PROTECTED]



  Sent: Friday, November 03, 2006 9:52 PM

  To: 

RE: problem with https

2006-11-05 Thread subir.sasikumar

Hi,

Is it a standard server, third party server (I mean the certificates are
standard ones)?
OR
Is it a test server (where you might have generated the test server
certificate)?

One more thing is your server expecting client authentication also?

Regards,
Subir S

-Original Message-
From: Abid Hussain [mailto:[EMAIL PROTECTED]
Sent: Friday, November 03, 2006 9:52 PM
To: axis-user@ws.apache.org
Subject: problem with https

Hi everybody,

I am new to axis and have a problem deploying my Webservice. I am using
Axis 1.3 and get always an error when trying to deploy it on the remote
server. I think it is because the server is only accessible via HTTPS -
when I deploy it on my local machine everything goes fine. Axis always
responds with 401 unauthorized.

Would be very happy, if someone could help me :-)

My Ant Script looks like this:
target name=installWebservice
mkdir dir=WebContent/wsdl /
java classname=org.apache.axis.wsdl.Java2WSDL fork=true
classpathref=axis.classpath failonerror=true
arg line=-o WebContent/wsdl/ModuleWS.wsdl /
arg line=-l
https://xxx.yyy:16384/modulverwaltung/services/ModuleWS/
arg line=-n urn:ModuleWS /
arg line=modulverwaltung.service.ModuleWSImpl /
/java
java classname=org.apache.axis.wsdl.WSDL2Java fork=true
classpathref=axis.classpath
arg line=-s WebContent/wsdl/ModuleWS.wsdl /
arg line=-o src /
arg line=-p modulverwaltung.service.ws /
/java
!-- other operations... --
/target

Until here everything goes fine.
No I install the .war File where my Webapp and all the Axis stuff is
included on the server. After that, I try deploy the Webservice using
following script:
target name=deployWebservice
java classname=org.apache.axis.client.AdminClient fork=true

classpathref=axis.classpath failonerror=true
arg line=-l
https://xxx.yyy:16384/modulverwaltung/servlet/AxisServlet
WebContent/WEB-INF/ModuleWS/deploy.wsdd /
/java
/target

But the deployment fails. The Message is:
[java] Processing file WebContent/WEB-INF/ModuleWS/deploy.wsdd
[java] Exception: AxisFault
[java] faultCode: {http://xml.apache.org/axis/}HTTP
[java] faultSubcode:
[java] faultString: (401)Unauthorized
[java] faultActor:
[java] faultNode:
[java] faultDetail:
[java] {}:return code:  401
[java] lt;?xml version=quot;1.0quot;
encoding=quot;utf-8quot;?gt;lt;soapenv:Envelope
xmlns:soapenv=quot;http://schemas.xmlsoap.
org/soap/envelope/quot;
xmlns:xsd=quot;http://www.w3.org/2001/XMLSchemaquot;
xmlns:xsi=quot;http://www.w3.org/2001/XMLSchema-instancequ
ot;gt;lt;soapenv:Bodygt;lt;soapenv:Faultgt;lt;faultcode
xmlns:ns1=quot;http://xml.apache.org/axis/quot;gt;ns1:Server.Unauthor
izedl
t;/faultcodegt;lt;faultstringgt;Remote administrator access is not
allowed!lt;/faultstringgt;lt;detailgt;lt;ns2:hostname xmlns:ns2=
quot;http://xml.apache.org/axis/quot;gt;lee.mi.fu-berlin.delt;/ns2:ho
stnamegt;lt;/detailgt;lt;/soapenv:Faultgt;lt;/soapenv:Bodygt;
lt;/soapenv:Envelopegt;
[java] {http://xml.apache.org/axis/}HttpErrorCode:401

Best regards,

Abid

--

Abid Hussain
Mail: [EMAIL PROTECTED]
Web: http://www.abid76.de

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



The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

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



2 dimensional byte arrays (byte[][])

2006-10-30 Thread subir.sasikumar








Hi,





We have a
requirement in the project where we need to use 2 dimensional byte arrays (byte[][]).

I have few questions




 I think we can give a type ArrayOf_base64binary for
 this type???
 Does this have any interoperability issues? 
 Is axis having a proper way to serialize and deserialize
 this java type?




If some body has some
information, please share with me.



Thanks in advance.



Subir S










The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com


RE: 2 dimensional byte arrays (byte[][]) [Axis 1.2]

2006-10-30 Thread subir.sasikumar








Hi,



I saw a JIRA issue related to this. [http://issues.apache.org/jira/browse/AXIS-1773].
Is it not possible to use 2d byte arrays with AXIS 1.2?



Please confirm is it enough to define the byte[][] like this in WSDL.



 import namespace=http://schemas.xmlsoap.org/soap/encoding//

 complexType name=ArrayOf_xsd_base64Binary

 complexContent

 restriction base=soapenc:Array

 attribute ref=soapenc:arrayType wsdl:arrayType=xsd:byte[][]/

 /restriction

 /complexContent

 /complexType



And then define a element type as

 xsd:element name=neType type=tns:ArrayOf_xsd_base64Binary minOccurs=0 maxOccurs=unbounded/



Where tns is my target namespace.





My web services are rpc/enc



Also doing this is giving me errors like this.



java.io.IOException: Type
{http://www.nokia.com/schemas/oss/inventory/v1.0/inven

tory-definitions/}ArrayOf_xsd_base64Binary
is referenced but not defined.


at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(Symbol

Table.java:665)


at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:545

)


at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav

a:518)


at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav

a:495)


at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)





Thanks in advance,

Subir S











From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 30, 2006
2:36 PM
To: axis-user@ws.apache.org
Subject: 2 dimensional byte arrays
(byte[][])





Hi,





We have a
requirement in the project where we need to use 2 dimensional byte arrays
(byte[][]).

I have few questions




 I think we can give a type ArrayOf_base64binary for
 this type???
 Does this have any interoperability issues? 
 Is axis having a proper way to serialize and
 deserialize this java type?




If some body has
some information, please share with me.



Thanks in advance.



Subir S









The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com


RE: 2 dimensional byte arrays (byte[][]) [Axis 1.2]

2006-10-30 Thread subir.sasikumar








Hi Martin,



Thanks for the
reply.



I did not get it
though. Could you explain a little bit more elaborate?



Regards,

Subir S









From: Martin Gainty
[mailto:[EMAIL PROTECTED] 
Sent: Monday, October 30, 2006
7:14 PM
To: axis-user@ws.apache.org
Subject: Re: 2 dimensional byte
arrays (byte[][]) [Axis 1.2]







backing down the double array to single array as in byte[]





then parse the single byte array of complexType
programmatically











Martin --
This e-mail communication and any attachments may contain
confidential and privileged information for the use of the 
designated recipients named above. If you are not the intended recipient, you
are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination,
distribution or copying of it or its 
contents







- Original Message - 





From: [EMAIL PROTECTED]






To: axis-user@ws.apache.org






Sent: Monday, October
30, 2006 6:12 AM





Subject: RE: 2 dimensional
byte arrays (byte[][]) [Axis 1.2]









Hi,



I saw a JIRA issue related to this.
[http://issues.apache.org/jira/browse/AXIS-1773]. Is it not possible to use 2d
byte arrays with AXIS 1.2?



Please confirm is it
enough to define the byte[][] like this in WSDL.




import namespace=http://schemas.xmlsoap.org/soap/encoding//


complexType name=ArrayOf_xsd_base64Binary


complexContent


restriction base=soapenc:Array


attribute ref=soapenc:arrayType wsdl:arrayType=xsd:byte[][]/


/restriction


/complexContent


/complexType



And then define a element type as


xsd:element name=neType type=tns:ArrayOf_xsd_base64Binary minOccurs=0 maxOccurs=unbounded/



Where tns is my target namespace.





My web services are rpc/enc



Also doing this is giving me errors like
this.



java.io.IOException: Type
{http://www.nokia.com/schemas/oss/inventory/v1.0/inven

tory-definitions/}ArrayOf_xsd_base64Binary
is referenced but not defined.


at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(Symbol

Table.java:665)


at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:545

)


at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav

a:518)


at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav

a:495)


at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)





Thanks in advance,

Subir S











From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Monday, October 30, 2006
2:36 PM
To: axis-user@ws.apache.org
Subject: 2 dimensional byte arrays
(byte[][])





Hi,





We have a
requirement in the project where we need to use 2 dimensional byte arrays
(byte[][]).

I have few questions




 I think we can give a type ArrayOf_base64binary for
 this type??? 
 Does this have any interoperability issues? 
 Is axis having a proper way to serialize and
 deserialize this java type? 




If some body has
some information, please share with me.



Thanks in advance.



Subir S




 
  
  
  The information contained in this electronic message and any attachments to
  this message are intended for the exclusive use of the addressee(s) and may
  contain proprietary, confidential or privileged information. If you are not
  the intended recipient, you should not disseminate, distribute or copy this
  e-mail. Please notify the sender immediately and destroy all copies of this
  message and any attachments. 
  
  WARNING: Computer viruses can be transmitted via email. The recipient should
  check this email and any attachments for the presence of viruses. The company
  accepts no liability for any damage caused by any virus transmitted by this
  email.
  
  www.wipro.com
  
 





 
  
  
  The information contained in this electronic message and any attachments to
  this message are intended for the exclusive use of the addressee(s) and may
  contain proprietary, confidential or privileged information. If you are not
  the intended recipient, you should not disseminate, distribute or copy this
  e-mail. Please notify the sender immediately and destroy all copies of this
  message and any attachments. 
  
  WARNING: Computer viruses can be transmitted via email. The recipient should
  check this email and any attachments for the presence of viruses. The company
  accepts no liability for any damage caused by any virus transmitted by this
  email.
  
  www.wipro.com
  
 













The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The 

RE: [AXIS 1.4]Problem after deploying web services using axis

2006-06-23 Thread subir.sasikumar

Hi Kashif,

Can you check whether actually your web service is deployed or not??
i.e. try to access the link
http://localhost:8080/axis/services/yourServiceName
If the service is deployed you will get a message saying that a web
service exist here...

Are you not getting any errors in the tomcat console or catalina.out
file (if you are in linux).

Subir S

-Original Message-
From: Kashif Saleem [mailto:[EMAIL PROTECTED]
Sent: Friday, June 23, 2006 3:36 PM
To: axis-user@ws.apache.org
Subject: [AXIS 1.4]Problem after deploying web services using axis

Hi All,
   I  installed couple of times axis-1_4 axis on
apache-tomcat-5.5.17 and whenever  I deployed any services using any
deploytment descriptor with some problem in it.Then it starts behavinh
weirdly i.e when I click list web services  it goes to the following
pages :

   http://localhost:8080/axis/servlet/AxisServlet

then instead of getting the list of services,I am getting the blank page
saying
And now... Some Services



I would appreciate if someone could tell me the reason for this.


Kind Regards
Kashif

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



The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

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



RE: A concrete axis + ssl client example.

2006-06-22 Thread subir.sasikumar








-ip vp



Can you check the following
links...The code is not that complex. The configuration is a little confusing
(or complex).

Please read the following links so
that it helps you.



[1] http://www.pankaj-k.net/WSOverSSL/WSOverSSL-HOWTO.html


[2] http://blogs.missiondata.com/?p@ 

[3] http://www.artima.com/forums/flat.jsp?forumFthread6915


[4] http://wiki.apache.org/ws/FrontPage/Axis/SslUnsignedCertificate


[5] http://wiki.apache.org/ws/FrontPage/Axis/AxisClientConfiguration/Ssl




I dont have any working code
example with me.



-Subir S

-Original Message-
From: ip vp [mailto:[EMAIL PROTECTED]]

Sent: Thursday, June 22, 2006 1:40 AM
To: axis-user@ws.apache.org
Subject: Re: A concrete axis + ssl client example.





Hey Subir,



Thanks for your response.



Can you provide a sample code ?



regards,



IPVP



From: Sai Arunachalam [EMAIL PROTECTED]

Reply-To: axis-user@ws.apache.org

To: axis-user@ws.apache.org

Subject: Re: A concrete axis + ssl client example.

Date: Mon, 19 Jun 2006 13:31:06 +0530



Hey Subir,



    Can you provide some code or example for what
you did...? I am looking

to implement a similar functionality.



Thanks,

Sai



On 6/19/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:





Thanks manuel...



I am using a self signed certificate and so I
had to import my servers

certificate (not issued by any CA, but me ;) )
into the truststore and

change the default trust store as they are not
available in the default CA

file available in the JRE.. That is the reason
that I set the truststore

explicitly ofcourse I can import my
servers certificate into the 

default

file to avoid setting any properties related
to trust store..you can 

say

I do this for testing purpose



Thanks again for pointing out that.

I thought you could have given a few links
that discuss these things (SSL,

Certificates in JAVA) in detail to help all of
us in the group.



Cheers

-Subir S

-Original Message-

From: Manuel Mall
[mailto:[EMAIL PROTECTED]]

Sent: Friday, June 16, 2006 9:08 PM

To: axis-user@ws.apache.org

Subject: Re: A concrete axis + ssl client
example.



On Friday 16 June 2006 21:07,
[EMAIL PROTECTED] wrote:

  Hi,

 

  I guess if you use the stubs generated
using WSDL2Java then there is

  nothing much to do. Set the trust store
property and trust store

  password property before invoking the
client. Just leave the other

  properties as default it self.

 

 
System.setProperty(javax.net.ssl.trustStore,

 
c:\\TraceLogs\\tempstore.jks);

 
System.setProperty(javax.net.ssl.trustStorePassword,
temp123);

 

For client authentication you usually the the
keyStore and

keyStorePassword properties not the
trustStore. The keyStore contains

your key and the corresponding certificate
presented to the server. The

trustStore contains certificates of the
servers you trust. Actually

typically not the certificates itself but the
CA certificates. The CA

trustStore that comes with your JDK/JRE
contains many of the commonly

used CA certificates (Verisign and the like)
and normally you don't

need to make any changes to it.



  
System.setProperty(javax.net.ssl.keyStore, path to

keystore);



System.setProperty(javax.net.ssl.keyStorePassword,
password);



works for me to use SSL client authentication.



The biggest complication typically is to get
your keyStore sorted out.

The details of that depend on how you your
private/public key pair and

from that your certificate is issued to you.
This topic is however way

off this list.



 

  -Subir S

 

  -Original Message-

  From: ip vp [mailto:[EMAIL PROTECTED]]

 

  Sent: Wednesday, June 14, 2006 6:56 PM

  To: axis-user@ws.apache.org

  Subject: A concrete axis + ssl client
example.

 

 

 

  Can somebody supply a concrete example
of axis client accessing

  webservice

 

  using ssl and a client certificate ?

 

 

  regards

 



Manuel



-

To unsubscribe, e-mail:
[EMAIL PROTECTED]

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







The information contained in this electronic
message and any attachments

to this message are intended for the exclusive
use of the addressee(s) and

may contain proprietary, confidential or
privileged information. If you 

are

not the intended recipient, you should not
disseminate, distribute or copy

this e-mail. Please notify the sender
immediately and destroy all copies 

of

this message and any attachments.



WARNING: Computer viruses can be transmitted
via email. The recipient

should check this email and any attachments
for the presence of viruses. 

The

company accepts no liability for any damage
caused by any virus 

transmitted

by this email.



www.wipro.com



-

To unsubscribe, e-mail:
[EMAIL PROTECTED]

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








RE: A concrete axis + ssl client example.

2006-06-19 Thread subir.sasikumar

Thanks manuel...

I am using a self signed certificate and so I had to import my servers 
certificate (not issued by any CA, but me ;) ) into the truststore and change 
the default trust store as they are not available in the default CA file 
available in the JRE.. That is the reason that I set the truststore 
explicitly ofcourse I can import my servers certificate into the default 
file to avoid setting any properties related to trust store..you can say I 
do this for testing purpose

Thanks again for pointing out that.
I thought you could have given a few links that discuss these things (SSL, 
Certificates in JAVA) in detail to help all of us in the group.

Cheers
-Subir S
-Original Message-
From: Manuel Mall [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 9:08 PM
To: axis-user@ws.apache.org
Subject: Re: A concrete axis + ssl client example.

On Friday 16 June 2006 21:07, [EMAIL PROTECTED] wrote:
 Hi,

 I guess if you use the stubs generated using WSDL2Java then there is
 nothing much to do. Set the trust store property and trust store
 password property before invoking the client. Just leave the other
 properties as default it self.

 System.setProperty(javax.net.ssl.trustStore,
 c:\\TraceLogs\\tempstore.jks);
 System.setProperty(javax.net.ssl.trustStorePassword, temp123);

For client authentication you usually the the keyStore and
keyStorePassword properties not the trustStore. The keyStore contains
your key and the corresponding certificate presented to the server. The
trustStore contains certificates of the servers you trust. Actually
typically not the certificates itself but the CA certificates. The CA
trustStore that comes with your JDK/JRE contains many of the commonly
used CA certificates (Verisign and the like) and normally you don't
need to make any changes to it.

        System.setProperty(javax.net.ssl.keyStore, path to
keystore);
       
System.setProperty(javax.net.ssl.keyStorePassword, password);

works for me to use SSL client authentication.

The biggest complication typically is to get your keyStore sorted out.
The details of that depend on how you your private/public key pair and
from that your certificate is issued to you. This topic is however way
off this list.


 -Subir S

 -Original Message-
 From: ip vp [mailto:[EMAIL PROTECTED]

 Sent: Wednesday, June 14, 2006 6:56 PM
 To: axis-user@ws.apache.org
 Subject: A concrete axis + ssl client example.



 Can somebody supply a concrete example of axis client accessing
 webservice

 using ssl and a client certificate ?


 regards


Manuel

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



The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

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



RE: A concrete axis + ssl client example.

2006-06-16 Thread subir.sasikumar

Hi,

I guess if you use the stubs generated using WSDL2Java then there is nothing 
much to do.
Set the trust store property and trust store password property before invoking 
the client. Just leave the other properties as default it self.

System.setProperty(javax.net.ssl.trustStore, 
c:\\TraceLogs\\tempstore.jks);
System.setProperty(javax.net.ssl.trustStorePassword, temp123);

I can help you if you need any more information (if I know :-) ).

-Subir S

-Original Message-
From: ip vp [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 14, 2006 6:56 PM
To: axis-user@ws.apache.org
Subject: A concrete axis + ssl client example.



Can somebody supply a concrete example of axis client accessing webservice
using ssl and a client certificate ?


regards

_
COPA 2006: (¯`·._.·[ Ooola ]·._.·´¯) e + frases para seu MSN  Clique
aqui! http://copa.br.msn.com/extra/frases/


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



The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

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



RE: [Axis 1.2] WSDL2Java for HTTPs url throws exception.

2006-06-15 Thread subir.sasikumar








Hi Remy,



I agree with your
first point that SSL enforces the name of the certificate and the server host.

I agree that is what
is happening in the first case. (The exception being thrown below).



But in the client I suppose
the URL that we talk is the same URL that we give as the targetEndPointAddress.

 

I have changed this
address from https://ip-address/prwp/services/UploadServices to
https://host-name/prwp/services/UploadServices and vice versa and I can
access the web service successfully. I dont understand the reason for
that.



I have added a aliastopaz.wipro.com/alias
for the Host 192.168.134.145
 / to the tomcat server.xml
so that I can invoke my webservices using both ip address and host name.



Shouldnt the
same work with WSDL2Java also. Can you throw or some other Axis Developers
throw some light on this.



Regards,




 
  
  Subir S
  
  
  
  
 
 
  
  
  
 
 
  
  
  
 














From: Remy Bertrand
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 15, 2006 1:16
AM
To: axis-user@ws.apache.org
Subject: Re: [Axis 1.2] WSDL2Java
for HTTPs url throws exception.







The problem is not that WSDL2Java cannot resolve IP address,
it's that https protocol enforce that the name of the certificate must
correspond to the server host.











If you generate the certificate with name topaz.subir.com,
you have to give this name to WSDL2java, not the IP address.











If you were doing that in a browser, you would have an alert
because the name in the certificate doesn't correspond to the hostname. In a
Java program, this is an exception...











And lasts, your client probably uses the host name in his
own code, thats why he can connect to the service.











Rémy







- Original Message - 





From: [EMAIL PROTECTED]






To: axis-user@ws.apache.org






Sent: Wednesday, June
14, 2006 11:50 AM





Subject: [Axis 1.2]
WSDL2Java for HTTPs url throws exception.









Hi,



I am
getting a weird error when trying run WSDL2Java using https connection.



I
have SSL enabled using mod-ssl in Apache server connected to tomcat server
using JK2.



Jdk
is 1.5.0_03, tomcat 5.0.9, apache 2.0.52



I use the following
to generate the stubs



java
-Djavax.net.ssl.trustStore=C:\TraceLogs\tempstore.jks
Djavax.net.ssl.trustStorePassword=subir123
org.apache.axis.wsdl.WSDL2Java
https://192.168.134.145:443/prwp/services/UploadServices?wsdl -p
prwp.soapclient -o .



I get the following
exception.



java.io.IOException:
HTTPS hostname wrong: should be 192.168.134.145


at sun.net.www.protocol.https.HttpsClient.checkURLSpoofing(HttpsClient.j

ava:493)


at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:

418)


at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect

(AbstractDelegateHttpsURLConnection.java:170)


at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon

nection.java:913)


at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Http

sURLConnectionImpl.java:234)


at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrent

Entity(XMLEntityManager.java:973)


at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineD

ocVersion(XMLVersionDetector.java:184)


at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X

ML11Configuration.java:798)


at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X

ML11Configuration.java:764)


at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.

java:148)


at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.

java:250)


at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Doc

umentBuilderImpl.java:292)


at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369)


at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:420)


at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav

a:480)


at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:360)


at java.lang.Thread.run(Thread.java:595)



The
host name corresponding to the IP address 192.168.134.145 is topaz.subir.com

A
dummy server certificate is generated by giving the common name (CN) as
topaz.subir.com.



If
I dont try to generate the stubs using https but as http itself and
manually change the http to https in the generated stubs, my client is able to
access the services (even though I use IP address).



Any
idea why WSDL2Java can not resolve the ip address but my client can do that.





Regards,


 
  
  Subir
  S
  Wipro Technologies,
  Survey No: 64, Madhapur,
  Hyderabad-500081, AP
  tel: 040-30795137 
  
  
  
  
 
 
  
  
  
 
 
  
  Want a signature like
  this?
  
 





 
  
  
  The information contained in this electronic message and any attachments to
  this message are intended for the exclusive use of the addressee(s) and may
  contain proprietary, confidential or privileged information. If you are not
  the 

RE: [SPAM] - RE: [Axis 1.2] WSDL2Java for HTTPs url throws exception. - Message is from an unknown sender

2006-06-15 Thread subir.sasikumar








That is a good
suggestion!!!

But that means you
think that WSDL2Java will not work with https based urlsisnt it???






 
  
  -Subir S
  
  
  
  
 
 
  
  
  
 
 
  
  
  
 














From: Dhakshinamoorthy,
Hariharasudhan [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 15, 2006
12:46 PM
To: axis-user@ws.apache.org
Subject: RE: [SPAM] - RE: [Axis
1.2] WSDL2Java for HTTPs url throws exception. - Message is from an unknown
sender







Aasi
kukar,





Another way
is to save a local copy of the wsdl and try WSDL2Java ;-)





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, June 15, 2006
12:42 PM
To: axis-user@ws.apache.org
Subject: [SPAM] - RE: [Axis 1.2]
WSDL2Java for HTTPs url throws exception. - Message is from an unknown sender

Hi Remy,



I agree with your
first point that SSL enforces the name of the certificate and the server host.

I agree that is what
is happening in the first case. (The exception being thrown below).



But in the client I
suppose the URL that we talk is the same URL that we give as the
targetEndPointAddress.



I have changed this
address from https://ip-address/prwp/services/UploadServices to
https://host-name/prwp/services/UploadServices and vice versa and I can
access the web service successfully. I don't understand the reason for that.



I have added a aliastopaz.subir.com/alias
for the Host 192.168.134.145
... / to the tomcat server.xml
so that I can invoke my webservices using both ip address and host name.



Shouldn't the same
work with WSDL2Java also. Can you throw or some other Axis Developers throw
some light on this.



Regards,




 
  
  Subir S
  
  
  
  
 
 
  
  
  
 
 
  
  
  
 














From: Remy Bertrand
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 15, 2006 1:16
AM
To: axis-user@ws.apache.org
Subject: Re: [Axis 1.2] WSDL2Java
for HTTPs url throws exception.







The problem is not that WSDL2Java cannot resolve IP address,
it's that https protocol enforce that the name of the certificate must
correspond to the server host.











If you generate the certificate with name topaz.subir.com,
you have to give this name to WSDL2java, not the IP address.











If you were doing that in a browser, you would have an alert
because the name in the certificate doesn't correspond to the hostname. In a
Java program, this is an exception...











And lasts, your client probably uses the host name in his
own code, thats why he can connect to the service.











Rémy







- Original Message - 





From: [EMAIL PROTECTED]






To: axis-user@ws.apache.org






Sent: Wednesday, June
14, 2006 11:50 AM





Subject: [Axis 1.2]
WSDL2Java for HTTPs url throws exception.









Hi,



I
am getting a weird error when trying run WSDL2Java using https connection.



I
have SSL enabled using mod-ssl in Apache server connected to tomcat server
using JK2.



Jdk
is 1.5.0_03, tomcat 5.0.9, apache 2.0.52



I use the following
to generate the stubs



java
-Djavax.net.ssl.trustStore=C:\TraceLogs\tempstore.jks
-Djavax.net.ssl.trustStorePassword=subir123 org.apache.axis.wsdl.WSDL2Java
https://192.168.134.145:443/prwp/services/UploadServices?wsdl -p
prwp.soapclient -o .



I get the following
exception.



java.io.IOException:
HTTPS hostname wrong: should be 192.168.134.145


at sun.net.www.protocol.https.HttpsClient.checkURLSpoofing(HttpsClient.j

ava:493)


at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:

418)


at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect

(AbstractDelegateHttpsURLConnection.java:170)


at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon

nection.java:913)


at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Http

sURLConnectionImpl.java:234)


at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrent

Entity(XMLEntityManager.java:973)


at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineD

ocVersion(XMLVersionDetector.java:184)


at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X

ML11Configuration.java:798)


at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X

ML11Configuration.java:764)


at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.

java:148)


at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.

java:250)


at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Doc

umentBuilderImpl.java:292)


at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369)


at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:420)


at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav

a:480)


at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:360)


at java.lang.Thread.run(Thread.java:595)



The
host name corresponding to the IP address 192.168.134.145 is topaz.subir.com

A
dummy server certificate is 

RE: [Axis 1.2] WSDL2Java for HTTPs url throws exception. -

2006-06-15 Thread subir.sasikumar

Hi Manuel,

So that is fine HostnameVerifier's verify does all these checks...fine...

So how come I am able to access the web service using ip address using my 
client...

I mean the target endpoint address if given using ip address also it works 
fine...What explanation is there for that...Is it that I am missing some 
thing...i don't know how the Call.invoke does all this things

Can you tell me about this mistery?

-Subir

-Original Message-
From: Manuel Mall [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 15, 2006 4:57 PM
To: axis-user@ws.apache.org
Subject: Re: [Axis 1.2] WSDL2Java for HTTPs url throws exception. -

On Thursday 15 June 2006 18:19, Dhakshinamoorthy, Hariharasudhan wrote:
 Iam not sure , i too had the same issue with https , then i did this
 to solve the issue
 Did it work for anyone ? please let us know.


Using https to point to a remote wsdl file for the wsdl2java tool works
fine for me.

As far as I know the default Java SSL host name validation (that is the
default implementation of the javax.net.ssl.HostnameVerifier interface)
requires the hostname in the https request to match the name in the
certificate. No dns or name resolution takes place.

So if your https request contains an IP address as hostname component
and the server presents a certificate containing the unresolved
hostname the default Java SSL implementation will throw an exception.

Manuel

 [Hariharasudhan.D]  -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 15, 2006 3:14 PM
 To: axis-user@ws.apache.org
 Subject: [SPAM] - RE: [SPAM] - RE: [Axis 1.2] WSDL2Java for HTTPs url
 throws exception. - Message is from an unknown sender - Message is
 from an unknown sender



 That is a good suggestion!!!

 But that means you think that WSDL2Java will not work with https
 based urls...isn't it???




 -Subir S












   _


 From: Dhakshinamoorthy, Hariharasudhan
 [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 15, 2006 12:46 PM
 To: axis-user@ws.apache.org
 Subject: RE: [SPAM] - RE: [Axis 1.2] WSDL2Java for HTTPs url throws
 exception. - Message is from an unknown sender



 Aasi kukar ,

 Another way is to save a local copy of the wsdl and try WSDL2Java ;-)

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 15, 2006 12:42 PM
 To: axis-user@ws.apache.org
 Subject: [SPAM] - RE: [Axis 1.2] WSDL2Java for HTTPs url throws
 exception. - Message is from an unknown sender

 Hi Remy,



 I agree with your first point that SSL enforces the name of the
 certificate and the server host.

 I agree that is what is happening in the first case. (The exception
 being thrown below).



 But in the client I suppose the URL that we talk is the same URL that
 we give as the targetEndPointAddress.



 I have changed this address from
 https://ip-address/prwp/services/UploadServices to
 https://host-name/prwp/services/UploadServices and vice versa and I
 can access the web service successfully. I don't understand the
 reason for that.



 I have added a aliastopaz.subir.com/alias for the Host
 192.168.134.145 ... / to the tomcat server.xml so that I can
 invoke my webservices using both ip address and host name.



 Shouldn't the same work with WSDL2Java also. Can you throw or some
 other Axis Developers throw some light on this.



 Regards,


 Subir S












   _


 From: Remy Bertrand [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 15, 2006 1:16 AM
 To: axis-user@ws.apache.org
 Subject: Re: [Axis 1.2] WSDL2Java for HTTPs url throws exception.



 The problem is not that WSDL2Java cannot resolve IP address, it's
 that https protocol enforce that the name of the certificate must
 correspond to the server host.



 If you generate the certificate with name topaz.subir.com, you have
 to give this name to WSDL2java, not the IP address.



 If you were doing that in a browser, you would have an alert because
 the name in the certificate doesn't correspond to the hostname. In a
 Java program, this is an exception...



 And lasts, your client probably uses the host name in his own code,
 thats why he can connect to the service.



 Rémy

 - Original Message -

 From: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

 To: axis-user@ws.apache.org mailto:axis-user@ws.apache.org

 Sent: Wednesday, June 14, 2006 11:50 AM

 Subject: [Axis 1.2] WSDL2Java for HTTPs url throws exception.



 Hi,



 I am getting a weird error when trying run WSDL2Java using https
 connection.



 I have SSL enabled using mod-ssl in Apache server connected to tomcat
 server using JK2.



 Jdk is 1.5.0_03, tomcat 5.0.9, apache 2.0.52



 I use the following to generate the stubs



 java -Djavax.net.ssl.trustStore=C:\TraceLogs\tempstore.jks
 -Djavax.net.ssl.trustStorePassword=subir123
 org.apache.axis.wsdl.WSDL2Java
 https://192.168.134.145:443/prwp/services/UploadServices?wsdl -p
 prwp.soapclient -o .



 I get the following exception.



 

RE: [Axis 1.2] WSDL2Java for HTTPs url throws exception.

2006-06-14 Thread subir.sasikumar








OK I will try again
a few other scenarios to see whether that is correct.

Thanks for the
reply.






 
  
  Subir
  S
  Wipro Technologies,
  Survey No: 64, Madhapur,
  Hyderabad-500081, AP
  tel: 040-30795137 
  
  
  
  
 
 
  
  
  
 
 
  
  Want a signature like
  this?
  
 














From: Remy Bertrand
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 15, 2006 1:16
AM
To: axis-user@ws.apache.org
Subject: Re: [Axis 1.2] WSDL2Java
for HTTPs url throws exception.







The problem is not that WSDL2Java cannot resolve IP address,
it's that https protocol enforce that the name of the certificate must
correspond to the server host.











If you generate the certificate with name topaz.subir.com,
you have to give this name to WSDL2java, not the IP address.











If you were doing that in a browser, you would have an alert
because the name in the certificate doesn't correspond to the hostname. In a
Java program, this is an exception...











And lasts, your client probably uses the host name in his
own code, thats why he can connect to the service.











Rémy







- Original Message - 





From: [EMAIL PROTECTED]






To: axis-user@ws.apache.org






Sent: Wednesday, June
14, 2006 11:50 AM





Subject: [Axis 1.2]
WSDL2Java for HTTPs url throws exception.









Hi,



I
am getting a weird error when trying run WSDL2Java using https connection.



I have
SSL enabled using mod-ssl in Apache server connected to tomcat server using
JK2.



Jdk
is 1.5.0_03, tomcat 5.0.9, apache 2.0.52



I use the following
to generate the stubs



java
-Djavax.net.ssl.trustStore=C:\TraceLogs\tempstore.jks Djavax.net.ssl.trustStorePassword=subir123
org.apache.axis.wsdl.WSDL2Java
https://192.168.134.145:443/prwp/services/UploadServices?wsdl -p
prwp.soapclient -o .



I get the following
exception.



java.io.IOException:
HTTPS hostname wrong: should be 192.168.134.145


at sun.net.www.protocol.https.HttpsClient.checkURLSpoofing(HttpsClient.j

ava:493)


at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:

418)


at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect

(AbstractDelegateHttpsURLConnection.java:170)


at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon

nection.java:913)


at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Http

sURLConnectionImpl.java:234)


at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrent

Entity(XMLEntityManager.java:973)


at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineD

ocVersion(XMLVersionDetector.java:184)


at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X

ML11Configuration.java:798)


at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X

ML11Configuration.java:764)


at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.

java:148)


at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.

java:250)


at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Doc

umentBuilderImpl.java:292)


at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369)


at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:420)


at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav

a:480)


at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:360)


at java.lang.Thread.run(Thread.java:595)



The
host name corresponding to the IP address 192.168.134.145 is topaz.subir.com

A
dummy server certificate is generated by giving the common name (CN) as topaz.subir.com.



If
I dont try to generate the stubs using https but as http itself and
manually change the http to https in the generated stubs, my client is able to
access the services (even though I use IP address).



Any
idea why WSDL2Java can not resolve the ip address but my client can do that.





Regards,


 
  
  Subir
  S
  Wipro Technologies,
  Survey No: 64, Madhapur,
  Hyderabad-500081, AP
  tel: 040-30795137 
  
  
  
  
 
 
  
  
  
 
 
  
  Want a signature like
  this?
  
 





 
  
  
  The information contained in this electronic message and any attachments to
  this message are intended for the exclusive use of the addressee(s) and may
  contain proprietary, confidential or privileged information. If you are not
  the intended recipient, you should not disseminate, distribute or copy this
  e-mail. Please notify the sender immediately and destroy all copies of this
  message and any attachments. 
  
  WARNING: Computer viruses can be transmitted via email. The recipient should
  check this email and any attachments for the presence of viruses. The company
  accepts no liability for any damage caused by any virus transmitted by this
  email.
  
  www.wipro.com
  
 













The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain 

RE: unsubscribe me

2006-04-28 Thread subir.sasikumar








Hi,



I have a suggestion.
Why not axis keep a link to unsubscribe in all the mails sent, so that people
do not come and mail like this to the list. 

Dims what is your
opinion. I do not know who can do this?



Well Diana.

In this link you get
all the apache groups to which you can subscribe or unsubscribe. http://ws.apache.org/mail.html 






 
  
  Subir
  S
  Wipro Technologies,
  Survey No: 64, Madhapur,
  Hyderabad-500081, AP
  tel: 040-30795137 
  
  
  
  
 
 
  
  
  
 
 
  
  Want a signature like
  this?
  
 














From: Brosca Diana
[mailto:[EMAIL PROTECTED] 
Sent: Friday, April 28, 2006 1:11
PM
To: axis-user@ws.apache.org
Subject: unsubscribe me 





Dear Sirs,



I want to be deleted from
your Axis email list.



Thank you very much!!!



Regards,





Diana












The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com


RE: target service to invoke - Please reply!

2006-04-17 Thread subir.sasikumar

Can you verify whether the service is correctly deployed in your tomcat
server?

Type the port address URL.. some thing like
http://hostip:port/webappname/services/servicename

If you can see the some message there then the service is correctly
deployed.


Subir S
Wipro Technologies,
Survey No: 64, Madhapur,
Hyderabad-500081, AP
tel: 040-30795137

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, April 17, 2006 3:16 PM
To: axis-user@ws.apache.org
Subject: target service to invoke - Please reply!

Hi there,

When I run my client code, I get the following error message:


The AXIS engine could not find a target service to invoke!
targetService
is null


Can you please advice me how I can fix this?

I have put the wsdl document in Tomcat5/webapps/axis/keyAccident2.wsdl
...not sure what I'm doing wrong :(


Many thanx

yasmin






The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com


RE: Securing Axis with x509 certificates?

2006-04-13 Thread subir.sasikumar








Hi Joshua,



Please see the
following link.

http://blogs.cocoondev.org/dims/wss4j/compare.html


http://www.artima.com/forums/flat.jsp?forum=46thread=106915


http://www.ftponline.com/members/login.aspx?ReturnUrl=http://www.ftponline.com/vsm/2005_09/magazine/columns/webservices/default_pf.aspx


http://wiki.apache.org/ws/FrontPage/Axis/SslUnsignedCertificate


http://wiki.apache.org/ws/FrontPage/Axis/AxisClientConfiguration/Ssl


http://java.sun.com/j2se/1.5.0/docs/guide/security/jsse/JSSERefGuide.html


http://www-128.ibm.com/developerworks/library/ws-secure/




I have added all the
links that lead to web services security. May be other friends can also append
a few more resources / links so that it is useful for others.



Regards




 
  
  Subir
  S
  Wipro Technologies,
  Survey No: 64, Madhapur,
  Hyderabad-500081, AP
  tel: 040-30795137 
  
  
  
  
 
 
  
  
  
 
 
  
  Want a signature like
  this?
  
 














From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 13, 2006
6:05 PM
To: axis-user@ws.apache.org
Subject: Securing Axis with x509
certificates?






All, 

I
am having difficulty finding out how to secure my Axis 1.2.x web service using
x509 certificates. Can someone help me out or point me to some supporting
documentation/tutorial? 

Thanks,


Joshua


*
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information. If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited. If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*








The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com


RE: please unsubscribe

2006-03-22 Thread subir.sasikumar








Please use the following
link



http://ws.apache.org/mail.html




You can see
different ws related projects which you can subscribe or unsubscribe.




 
  
  Subir
  S
  Wipro Technologies,
  Survey No: 64, Madhapur,
  Hyderabad-500081, AP
  tel: 040-30795137 
  
  
  
  
 
 
  
  
  
 
 
  
  Want
  a signature like this?
  
 





 
  
  
  
  
  
  
 
 
  
  
  
 
 
  
  
  
 










From: Raj Chaubal
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 22, 2006
8:11 PM
To: axis-user@ws.apache.org
Subject: please unsubscribe












The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com


RE: how to unsubscribe?

2006-03-21 Thread subir.sasikumar








Please use the
following link



http://ws.apache.org/mail.html 



You can see
different ws related projects which you can subscribe or unsubscribe.






 
  
  Subir
  S
  Wipro Technologies,
  Survey No: 64, Madhapur,
  Hyderabad-500081, AP
  tel: 040-30795137 
  
  
  
  
 
 
  
  
  
 
 
  
  Want a signature like
  this?
  
 














From: Dr. Exner
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 21, 2006 3:22
PM
To: axis-user@ws.apache.org
Subject: how to unsubscribe?







Unfortunately I deleted the confirmation mail with the
unsubscribe address.










The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com


Axis C++ Stubs

2006-03-20 Thread subir.sasikumar








Hi all,



I just joined the
group now. This is the first mail.

I was in the Axis
(java) user list.



Actually our project
was using the Axis for the implementation of web services.

I wanted to know how
better the implementation of Axis Java is compared to Axis C ++.

What are the
difficulties in the stubs generation and all that stuff.

Can somebody throw
some light into this?

Or send me some
links to know about this.




 
  
  Subir
  S
  Wipro Technologies,
  Survey No: 64, Madhapur,
  Hyderabad-500081, AP
  tel: 040-30795137 
  
  
  
  
 
 
  
  
  
 
 
  
  Want a signature like
  this?
  
 











The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com


TCP mon

2006-03-15 Thread subir.sasikumar








Hi,



This may be very basic question. Can some one tell me how
can I set up TCPmon is my system.



I tried with what was mentioned in the following url http://ws.apache.org/axis/java/user-guide.html#AppendixUsingTheAxisTCPMonitorTcpmon


But without understanding what is what I am not able to
configure any thing here.



I am a novice in this field.



Regards,

Subir S








The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com


RE: TCP mon (Axis1 and Axis2)

2006-03-15 Thread subir.sasikumar








Hi,



Was this a question or answer??? I think
the answer was to some other thread.





Regards,

Subir 













From: Franz Fehringer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 15, 2006
3:28 PM
To: axis-user@ws.apache.org
Subject: Re: TCP mon (Axis1 and
Axis2)





And, by the way, what happened to the project of
factoring out tcpmon into WS commons?

Greetings

Franz

[EMAIL PROTECTED]
schrieb: 

Hi,



This may be very basic question. Can some one tell me
how can I set up TCPmon is my system.



I tried with what was mentioned in the following url http://ws.apache.org/axis/java/user-guide.html#AppendixUsingTheAxisTCPMonitorTcpmon


But without understanding what is what I am not able
to configure any thing here.



I am a novice in this field.



Regards,

Subir S


 
  
  
  The information contained in this electronic message and any attachments to
  this message are intended for the exclusive use of the addressee(s) and may
  contain proprietary, confidential or privileged information. If you are not
  the intended recipient, you should not disseminate, distribute or copy this
  e-mail. Please notify the sender immediately and destroy all copies of this
  message and any attachments. 
  
  WARNING: Computer viruses can be transmitted via email. The recipient should
  check this email and any attachments for the presence of viruses. The company
  accepts no liability for any damage caused by any virus transmitted by this
  email.
  
  www.wipro.com
  
 











The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com


RE: TCP mon (Axis1 and Axis2)

2006-03-15 Thread subir.sasikumar








Hi,



Thanks for the reply.

I use the following command. 

java -cp %AXISCLASSPATH%;%CLASSPATH% org.apache.axis.utils.tcpmon
8080 10.125.79.152 8080 



(class path has all the axis 1.2 jar files).



It gives me the following error. 

java.net.BindException: Address already in use: JVM_Bind



I am using the tomcat 5.5.9 which is listening on 8080
port. I have deployed my web services in tomcat.



So I actually wanted to understand what are these
ports that I am specifying so that I can configure it properly.





Regards,

Subir
Sasikumar













From: Franz Fehringer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 15, 2006
3:43 PM
To: axis-user@ws.apache.org
Subject: Re: TCP mon (Axis1 and
Axis2)





Your question reminded me to ask another question
regarding tcpmon.
I personally start tcpmon with a command script containing

set AS=D:\Quellen\SVN\axis
set ASC=%AS%\c\obj\classes
set ASJ=%AS%\java\build\lib
set
AXISCLASSPATH=%ASC%\wsdl2ws.jar;%ASC%\buildtools.jar;%ASJ%\axis.jar;%ASJ%\axis-ant.jar;%ASJ%\commons-discovery-0.2.jar;%ASJ%\commons-logging-1.0.4.jar;%ASJ%\jaxrpc.jar;%ASJ%\saaj.jar;%ASJ%\wsdl4j-1.5.1.jar
java -cp %AXISCLASSPATH%;%CLASSPATH% -Dhttp.proxyHost=proxy
-Dhttp.proxyPort=81 org.apache.axis.utils.tcpmon 80 scftest.pegstour.com 80

where i checked out axis into D:\Quellen\SVN\axis using subversion (svn) and
built first Axis Java and then Axis C++ by myself.
This is naturally only an example suited to my local environment.
My CLASSPATH btw is
CLASSPATH=.;C:\Programme\Saxon\saxon8.jar;C:\Programme\Tomcat
5.5\common\lib\servlet-api.jar;C:\Programme\Tomcat 5.5\com
mon\lib\jsp-api.jar;C:\Programme\Tomcat
5.5\common\lib\activation.jar;C:\Programme\Tomcat
5.5\common\lib\mail.jar;C:\Pro
gramme\Tomcat
5.5\common\lib\xmlsec.jar;C:\Programme\logging-log4j-1.2.12\dist\lib\log4j-1.2.12.jar;C:\Programme\junit3.
8.1\junit.jar

Greetings

Franz

[EMAIL PROTECTED]
schrieb: 

Hi,



Was this a question or answer??? I think
the answer was to some other thread.





Regards,

Subir 















From: Franz Fehringer [mailto:[EMAIL PROTECTED]]

Sent: Wednesday, March 15, 2006
3:28 PM
To: axis-user@ws.apache.org
Subject: Re: TCP mon (Axis1 and
Axis2)







And, by the way, what happened to the project of
factoring out tcpmon into WS commons?

Greetings

Franz

[EMAIL PROTECTED]
schrieb: 

Hi,



This may be very basic question. Can some one tell me
how can I set up TCPmon is my system.



I tried with what was mentioned in the following url http://ws.apache.org/axis/java/user-guide.html#AppendixUsingTheAxisTCPMonitorTcpmon


But without understanding what is what I am not able
to configure any thing here.



I am a novice in this field.



Regards,

Subir S


 
  
  
  The information contained in this electronic message and any attachments to
  this message are intended for the exclusive use of the addressee(s) and may
  contain proprietary, confidential or privileged information. If you are not
  the intended recipient, you should not disseminate, distribute or copy this
  e-mail. Please notify the sender immediately and destroy all copies of this
  message and any attachments. 
  
  WARNING: Computer viruses can be transmitted via email. The recipient should
  check this email and any attachments for the presence of viruses. The company
  accepts no liability for any damage caused by any virus transmitted by this
  email.
  
  www.wipro.com
  
 





 
  
  
  The information contained in this electronic message and any attachments to
  this message are intended for the exclusive use of the addressee(s) and may
  contain proprietary, confidential or privileged information. If you are not
  the intended recipient, you should not disseminate, distribute or copy this
  e-mail. Please notify the sender immediately and destroy all copies of this
  message and any attachments. 
  
  WARNING: Computer viruses can be transmitted via email. The recipient should
  check this email and any attachments for the presence of viruses. The company
  accepts no liability for any damage caused by any virus transmitted by this email.
  
  www.wipro.com
  
 











The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com


RE: WSDL - stubs generation

2006-03-04 Thread subir.sasikumar








Hi,



Try out with xsd:hexBinary instead of
xsd:string.







Regards,

Subir Sasikumar













From: Samuel, Johnson
[mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 04, 2006
4:10 AM
To: axis-user@ws.apache.org
Subject: WSDL - stubs generation





Hi,



I am trying to create WSDL for a service
that accepts request as attachment (XML content). I used wsdl2java to generate
the stubs.



I have two issues 

1). When request/response attachment part is
set as string the stubs generated throws error while reading the response back.

2). Apart from using
xsd:string is there a means I can pass my xml object mapping in
attachment. How to define that in my wsdl:message.



Below is the wsdl I created for the
service.



Any suggestion/help is much appreciated.
Thanks in advance



rgds,





--- WSDL ---



wsdl:message
name=MyServiceRequest


wsdl:part name=reqheader
element=eb:MessageHeader/


wsdl:part name=reqheader2 element=wsse:Security/


wsdl:part name=reqbody type=xsd:string/


wsdl:part name=reqpart type=xsd:string/

/wsdl:message

wsdl:message
name=MyServiceResponse


wsdl:part name=resheader
element=eb:MessageHeader/

 wsdl:part
name=resheader2 element=wsse:Security/


wsdl:part name=resbody type=xsd:string/


wsdl:part name=respart type=xsd:string/

/wsdl:message

wsdl:portType
name=MyServicePortType


wsdl:operation name=MyServiceRQ


wsdl:input message=tns:MyServiceRequest/


wsdl:output message=tns:MyServiceResponse/


/wsdl:operation

/wsdl:portType

wsdl:binding
name=MyServiceSoapBinding
type=tns:MyServicePortType


soap:binding style=rpc transport=http://schemas.xmlsoap.org/soap/http/


wsdl:operation name=MyServiceRQ


soap:operation soapAction= style=document/


wsdl:input


soap:header message=tns:MyServiceRequest
part=reqheader use=literal/


soap:header message=tns:MyServiceRequest
part=reqheader2 use=literal/


mime:multipartRelated


mime:part


soap:body part=reqbody use=literal/


/mime:part



mime:part


mime:content part=reqpart type=text/plain/


/mime:part


/mime:multipartRelated


/wsdl:input


wsdl:output


soap:header message=tns:MyServiceResponse
part=resheader use=literal/


soap:header message=tns:MyServiceResponse
part=resheader2
use=literal/



mime:multipartRelated


mime:part


soap:body part=resbody use=literal/


/mime:part



mime:part


mime:content part=respart type=text/plain/


/mime:part


/mime:multipartRelated


/wsdl:output


/wsdl:operation

/wsdl:binding

wsdl:service name=MyService


wsdl:port binding=tns:MyServiceSoapBinding
name=MyServiceSOAPPort


soap:address location=http://127.0.0.1:8100/webservice/


/wsdl:port

/wsdl:service








The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com


Web Services for attachments.

2006-02-26 Thread subir.sasikumar








Hi,



I am trying to write a few web services using attachments.
Can some body give some inputs on that?



I am basically hand coding my wsdd to deploy the web
services. How can I specify the mime type for the same in my generated wsdls?



Any help is appreciated.



Regards,

Subir S








The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com


Problem with WSDL2Java for the DataHandler type using ?wsdl

2006-02-23 Thread subir.sasikumar








Hi,



I am using AXIS 1.2 over Tomcat 5.5.9 appserver with
jdk1.5.0_03. I have deployed my web services in both Linux and Windows. I found
the problem in only linux.



The problem that I am facing is that the ?wsdl feature of
the Axis is not generating the wsdl:types section correctly.



I have defined a dataHandler element as follows



 typeMapping 


xmlns:apachesoap=http://xml.apache.org/xml-soap


qname=apachesoap:DataHandler


languageSpecificType=java:javax.activation.DataHandler 


deserializer=org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory


serializer=org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory 


encodingStyle=http://schemas.xmlsoap.org/soap/encoding/

 /



And also I have added the xmlns:apachesoap in the deployment
tag of my deploy.wsdd



My web service in the deploy.wsdd looks like this.



 operation returnQName=uploadStatus


 returnType=xsd:boolean


 name=uploadMediaTitle


 xmlns:xsd=http://www.w3.org/2001/XMLSchema





parameter name=name type=xsd:string/


parameter name=description type=xsd:string/


parameter name=mediaTitleMimeTypeCode type=xsd:string/


parameter name=dataHandler type=apachesoap:DataHandler /


/operation



The problem is that the ?wsdl that generates the wsdl for my
service does not generate the correct wsdl:type. It some times have and some
times does not have the type declaration in the generated wsdl because of which
the stubs generation throws the following error.



java.io.IOException: Type DataHandler is referenced but not
defined.

 at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(Symbol

Table.java:663)

 at
org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:543

)

 at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav

a:516)

 at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav

a:493)

 at
org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:360)

 at
java.lang.Thread.run(Thread.java:534)



Can some one tell me the reason for this?



Can some body tell me is this not the
correct group that could help me or that I have to send the mail to developers
list also? I hope somebody might have got the above problem.



Thanks and regards



Subir S











The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com


Problem with WSDL2Java for the DataHandler type using ?wsdl

2006-02-22 Thread subir.sasikumar








Hi,



I am using AXIS 1.2 over Tomcat 5.5.9 appserver with
jdk1.5.0_03. I have deployed my web services in both Linux and Windows. I found
the problem in only linux.



The problem that I am facing is that the ?wsdl feature of
the Axis is not generating the wsdl:types section correctly.



I have defined a dataHandler element as follows



 typeMapping 

 xmlns:apachesoap=http://xml.apache.org/xml-soap

 qname=apachesoap:DataHandler

 languageSpecificType=java:javax.activation.DataHandler 

 deserializer=org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory


serializer=org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory 


encodingStyle=http://schemas.xmlsoap.org/soap/encoding/

 /



And also I have added the xmlns:apachesoap in the deployment
tag of my deploy.wsdd



My web service in the deploy.wsdd looks like this.



 operation returnQName=uploadStatus

 
returnType=xsd:boolean

 
name=uploadMediaTitle

 
xmlns:xsd=http://www.w3.org/2001/XMLSchema

 

 parameter name=name type=xsd:string/

 parameter name=description type=xsd:string/

 parameter name=mediaTitleMimeTypeCode type=xsd:string/

 parameter name=dataHandler type=apachesoap:DataHandler /

 /operation



The problem is that the ?wsdl that generates the wsdl for my
service does not generate the correct wsdl:type. It some times have and some
times does not have the type declaration in the generated wsdl because of which
the stubs generation throws the following error.



java.io.IOException: Type DataHandler is referenced but not
defined.

 at
org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(Symbol

Table.java:663)

 at
org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:543

)

 at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav

a:516)

 at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav

a:493)

 at
org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:360)

 at
java.lang.Thread.run(Thread.java:534)



Can some one tell me the reason for this?



Thanks and regards



Subir S












The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com