You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by George Stanchev <Gs...@serena.com> on 2007/05/30 17:45:25 UTC

Axis2 & SSL

Hi,

I am sure this question has been asked many many times...

Can you please point me to a doc or sample on how to call service over
SSL
when the server is using self-signed certificate?

Thanks in advance!

George

**********************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. 
**********************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Axis2 & SSL

Posted by Davanum Srinivas <da...@gmail.com>.
Let me play the devils advocate...How will we know if this is enough
for you needs or not? What if we cut 1.3 tonight and tomorrow you see
that it isn't enough. What will you do then? :) So, please try it out
and send us your feedback and help us get to 1.3 :)

Am trying to go thru the JIRA list today. Next week is the
F2F/Hackathon. I think towards the end of the hackathon we will get an
idea of when we can do a release.

thanks,
dims

On 6/6/07, George Stanchev <Gs...@serena.com> wrote:
> Thanks Dims!
>
> Unfortunately I am stuck with "official" releases due to company policy.
>
> What is the 1.3 timeframe?
>
> Best Regards,
> George
>
> -----Original Message-----
> From: Davanum Srinivas [mailto:davanum@gmail.com]
> Sent: Wednesday, June 06, 2007 12:31 PM
> To: axis-user@ws.apache.org
> Subject: Re: Axis2 & SSL
>
> George,
>
> If you are willing to use latest SVN, we have added support for
> HTTPConstants.CUSTOM_PROTOCOL_HANDLER
>
> You can create an instance of AuthSSLProtocolSocketFactory[1] and set it
> in Options for each ServiceClient.
>
> [1]
> http://svn.apache.org/viewvc/jakarta/commons/proper/httpclient/trunk/src
> /contrib/org/apache/commons/httpclient/contrib/ssl/
>
> thanks,
> dims
>
> On 6/6/07, George Stanchev <Gs...@serena.com> wrote:
> > Thanks but I need it per connection. I have multiple threads opening
> > multiple axis2 clients simultatneously and this is really not
> > thread-safe.
> >
> > Is there any axis2-specific way to accomplish this?
> >
> > Thanks in advance!
> >
> > Best Regards,
> > George
> >
> > -----Original Message-----
> > From: Davanum Srinivas [mailto:davanum@gmail.com]
> > Sent: Wednesday, May 30, 2007 11:09 AM
> > To: axis-user@ws.apache.org
> > Subject: Re: Axis2 & SSL
> >
> > http://www.mail-archive.com/axis-user@ws.apache.org/msg19269.html
> >
> > On 5/30/07, George Stanchev <Gs...@serena.com> wrote:
> > > Hi,
> > >
> > > I am sure this question has been asked many many times...
> > >
> > > Can you please point me to a doc or sample on how to call service
> > > over
> >
> > > SSL when the server is using self-signed certificate?
> > >
> > > Thanks in advance!
> > >
> > > George
> > >
> > > ********************************************************************
> > > ** This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom they
> > are addressed. Any unauthorized review, use, disclosure or
> > distribution is prohibited. If you are not the intended recipient,
> > please contact the sender by reply e-mail and destroy all copies of
> the original message.
> > > ********************************************************************
> > > **
> > >
> > >
> > > --------------------------------------------------------------------
> > > - To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > >
> > >
> >
> >
> > --
> > Davanum Srinivas :: http://davanum.wordpress.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> --
> Davanum Srinivas :: http://davanum.wordpress.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Davanum Srinivas :: http://davanum.wordpress.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


RE: Axis2 & SSL

Posted by George Stanchev <Gs...@serena.com>.
Thanks Dims!

Unfortunately I am stuck with "official" releases due to company policy.

What is the 1.3 timeframe?

Best Regards,
George

-----Original Message-----
From: Davanum Srinivas [mailto:davanum@gmail.com] 
Sent: Wednesday, June 06, 2007 12:31 PM
To: axis-user@ws.apache.org
Subject: Re: Axis2 & SSL

George,

If you are willing to use latest SVN, we have added support for
HTTPConstants.CUSTOM_PROTOCOL_HANDLER

You can create an instance of AuthSSLProtocolSocketFactory[1] and set it
in Options for each ServiceClient.

[1]
http://svn.apache.org/viewvc/jakarta/commons/proper/httpclient/trunk/src
/contrib/org/apache/commons/httpclient/contrib/ssl/

thanks,
dims

On 6/6/07, George Stanchev <Gs...@serena.com> wrote:
> Thanks but I need it per connection. I have multiple threads opening 
> multiple axis2 clients simultatneously and this is really not 
> thread-safe.
>
> Is there any axis2-specific way to accomplish this?
>
> Thanks in advance!
>
> Best Regards,
> George
>
> -----Original Message-----
> From: Davanum Srinivas [mailto:davanum@gmail.com]
> Sent: Wednesday, May 30, 2007 11:09 AM
> To: axis-user@ws.apache.org
> Subject: Re: Axis2 & SSL
>
> http://www.mail-archive.com/axis-user@ws.apache.org/msg19269.html
>
> On 5/30/07, George Stanchev <Gs...@serena.com> wrote:
> > Hi,
> >
> > I am sure this question has been asked many many times...
> >
> > Can you please point me to a doc or sample on how to call service 
> > over
>
> > SSL when the server is using self-signed certificate?
> >
> > Thanks in advance!
> >
> > George
> >
> > ********************************************************************
> > ** This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they 
> are addressed. Any unauthorized review, use, disclosure or 
> distribution is prohibited. If you are not the intended recipient, 
> please contact the sender by reply e-mail and destroy all copies of
the original message.
> > ********************************************************************
> > **
> >
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> --
> Davanum Srinivas :: http://davanum.wordpress.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


--
Davanum Srinivas :: http://davanum.wordpress.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Axis2 & SSL

Posted by Davanum Srinivas <da...@gmail.com>.
George,

If you are willing to use latest SVN, we have added support for
HTTPConstants.CUSTOM_PROTOCOL_HANDLER

You can create an instance of AuthSSLProtocolSocketFactory[1] and set
it in Options for each ServiceClient.

[1] http://svn.apache.org/viewvc/jakarta/commons/proper/httpclient/trunk/src/contrib/org/apache/commons/httpclient/contrib/ssl/

thanks,
dims

On 6/6/07, George Stanchev <Gs...@serena.com> wrote:
> Thanks but I need it per connection. I have multiple threads opening
> multiple axis2 clients simultatneously and this is really not
> thread-safe.
>
> Is there any axis2-specific way to accomplish this?
>
> Thanks in advance!
>
> Best Regards,
> George
>
> -----Original Message-----
> From: Davanum Srinivas [mailto:davanum@gmail.com]
> Sent: Wednesday, May 30, 2007 11:09 AM
> To: axis-user@ws.apache.org
> Subject: Re: Axis2 & SSL
>
> http://www.mail-archive.com/axis-user@ws.apache.org/msg19269.html
>
> On 5/30/07, George Stanchev <Gs...@serena.com> wrote:
> > Hi,
> >
> > I am sure this question has been asked many many times...
> >
> > Can you please point me to a doc or sample on how to call service over
>
> > SSL when the server is using self-signed certificate?
> >
> > Thanks in advance!
> >
> > George
> >
> > **********************************************************************
> > This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they are
> addressed. Any unauthorized review, use, disclosure or distribution is
> prohibited. If you are not the intended recipient, please contact the
> sender by reply e-mail and destroy all copies of the original message.
> > **********************************************************************
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> --
> Davanum Srinivas :: http://davanum.wordpress.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Davanum Srinivas :: http://davanum.wordpress.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Raw XML?

Posted by Rich Adili <Ri...@xata.com>.
Hi,

Given a stub that's designed to code-generated to return an ADBBean how
can I query it for a copy of the raw XML? Would be handy for debugging.

Rich

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: XSD2Java

Posted by Paul Fremantle <pz...@gmail.com>.
AFAIK there is no way to tell ADB (or any other binding component)
that someone's done this. I've seen this before and I had to do it
manually.

Paul

On 6/5/07, Rich Adili <Ri...@xata.com> wrote:
> That's clever thinking Paul! It appears to solve my problem in most
> cases. Just to make life interesting I've been saddled with a few
> oddball schemas similar to the one below. The designer has embedded an
> XML document within another as text content. I can work out how to
> manually unmarshal this thing but I'm wondering if I can extend your
> suggestion so Axis will do this for me. Anyone know of a way to inform
> the code generator of this nesting?
>
> <bun>
>         <hotdog>
>                 <relish>1234</relish>
>                 <mustard>&lt;SideOrders Fries="1"/></mustard>
>         </hotdog>
> </bun>
>
> Rich
>
> -----Original Message-----
> From: Paul Fremantle [mailto:pzfreo@gmail.com]
> Sent: Saturday, June 02, 2007 2:00 AM
> To: axis-user@ws.apache.org
> Subject: Re: XSD2Java
>
> Rich
>
> One of the aspects of WSDL is "duck-typing".
> http://en.wikipedia.org/wiki/Duck_typing
>
> The result of this is that you can have two different WSDLs. The
> official WSDL and a "pseudo" WSDL. So one approach would be to take
> the official WSDL, edit it to include the XSDs and then generate a
> client from it. You end up with a client that has databinding, but
> still talks to the real service.
>
> Paul
>
> On 6/1/07, Rich Adili <Ri...@xata.com> wrote:
> > Yep, tons of them. Since writing this I've done some puttering about
> > with various bindings and not found a good solution. The code
> generated
> > by XSD2Java doesn't like my XML. The XML conforms to the schema but
> does
> > not reference the schema so the generated code doesn't recognize the
> > namespace of any of its tags.
> >
> > -----Original Message-----
> > From: Paul Fremantle [mailto:pzfreo@gmail.com]
> > Sent: Friday, June 01, 2007 7:49 AM
> > To: axis-user@ws.apache.org
> > Subject: Re: XSD2Java
> >
> > Rich
> >
> > Do you have schema somewhere (i.e. just not in the WSDL)?
> >
> > Paul
> >
> > On 5/31/07, Rich Adili <Ri...@xata.com> wrote:
> > > Hi,
> > >
> > > My services exchange a number of XML documents that aren't code
> > > generated from WSDL as the content is spec'ed as xs:any. Is XSD2Java
> > my
> > > best choice for generating Java bindings for these documents? Any
> > > documentation or examples lying around?
> > >
> > > Thanks,
> > > Rich
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > >
> > >
> >
> >
> > --
> > Paul Fremantle
> > Co-Founder and VP of Technical Sales, WSO2
> > OASIS WS-RX TC Co-chair
> >
> > blog: http://pzf.fremantle.org
> > paul@wso2.com
> >
> > "Oxygenating the Web Service Platform", www.wso2.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> --
> Paul Fremantle
> Co-Founder and VP of Technical Sales, WSO2
> OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> paul@wso2.com
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


RE: XSD2Java

Posted by Rich Adili <Ri...@xata.com>.
That's clever thinking Paul! It appears to solve my problem in most
cases. Just to make life interesting I've been saddled with a few
oddball schemas similar to the one below. The designer has embedded an
XML document within another as text content. I can work out how to
manually unmarshal this thing but I'm wondering if I can extend your
suggestion so Axis will do this for me. Anyone know of a way to inform
the code generator of this nesting?

<bun>
	<hotdog>
		<relish>1234</relish>
		<mustard>&lt;SideOrders Fries="1"/></mustard>
	</hotdog>
</bun>

Rich

-----Original Message-----
From: Paul Fremantle [mailto:pzfreo@gmail.com] 
Sent: Saturday, June 02, 2007 2:00 AM
To: axis-user@ws.apache.org
Subject: Re: XSD2Java

Rich

One of the aspects of WSDL is "duck-typing".
http://en.wikipedia.org/wiki/Duck_typing

The result of this is that you can have two different WSDLs. The
official WSDL and a "pseudo" WSDL. So one approach would be to take
the official WSDL, edit it to include the XSDs and then generate a
client from it. You end up with a client that has databinding, but
still talks to the real service.

Paul

On 6/1/07, Rich Adili <Ri...@xata.com> wrote:
> Yep, tons of them. Since writing this I've done some puttering about
> with various bindings and not found a good solution. The code
generated
> by XSD2Java doesn't like my XML. The XML conforms to the schema but
does
> not reference the schema so the generated code doesn't recognize the
> namespace of any of its tags.
>
> -----Original Message-----
> From: Paul Fremantle [mailto:pzfreo@gmail.com]
> Sent: Friday, June 01, 2007 7:49 AM
> To: axis-user@ws.apache.org
> Subject: Re: XSD2Java
>
> Rich
>
> Do you have schema somewhere (i.e. just not in the WSDL)?
>
> Paul
>
> On 5/31/07, Rich Adili <Ri...@xata.com> wrote:
> > Hi,
> >
> > My services exchange a number of XML documents that aren't code
> > generated from WSDL as the content is spec'ed as xs:any. Is XSD2Java
> my
> > best choice for generating Java bindings for these documents? Any
> > documentation or examples lying around?
> >
> > Thanks,
> > Rich
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> --
> Paul Fremantle
> Co-Founder and VP of Technical Sales, WSO2
> OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> paul@wso2.com
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: XSD2Java

Posted by Paul Fremantle <pz...@gmail.com>.
Rich

One of the aspects of WSDL is "duck-typing".
http://en.wikipedia.org/wiki/Duck_typing

The result of this is that you can have two different WSDLs. The
official WSDL and a "pseudo" WSDL. So one approach would be to take
the official WSDL, edit it to include the XSDs and then generate a
client from it. You end up with a client that has databinding, but
still talks to the real service.

Paul

On 6/1/07, Rich Adili <Ri...@xata.com> wrote:
> Yep, tons of them. Since writing this I've done some puttering about
> with various bindings and not found a good solution. The code generated
> by XSD2Java doesn't like my XML. The XML conforms to the schema but does
> not reference the schema so the generated code doesn't recognize the
> namespace of any of its tags.
>
> -----Original Message-----
> From: Paul Fremantle [mailto:pzfreo@gmail.com]
> Sent: Friday, June 01, 2007 7:49 AM
> To: axis-user@ws.apache.org
> Subject: Re: XSD2Java
>
> Rich
>
> Do you have schema somewhere (i.e. just not in the WSDL)?
>
> Paul
>
> On 5/31/07, Rich Adili <Ri...@xata.com> wrote:
> > Hi,
> >
> > My services exchange a number of XML documents that aren't code
> > generated from WSDL as the content is spec'ed as xs:any. Is XSD2Java
> my
> > best choice for generating Java bindings for these documents? Any
> > documentation or examples lying around?
> >
> > Thanks,
> > Rich
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> --
> Paul Fremantle
> Co-Founder and VP of Technical Sales, WSO2
> OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> paul@wso2.com
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: XSD2Java

Posted by Amila Suriarachchi <am...@gmail.com>.
As Anne has told normally XSD2java is not in use.
but if you want to experiment with ADB generated code you can
use something as follows

 sh axis2.sh org.apache.axis2.schema.XSD2Java <path to xsd file> <path to
output folder>

eg.

sh axis2.sh org.apache.axis2.schema.XSD2Java /home/amila/sample1/sample1.xsd
/home/amila/sample1/src/

Here you have to get the latest Axis1.2 distribution or a SNAPSHOT . Then
unzip it and set the
AXIS2_HOME envirionment variable correctly. then go to the bin directory
where you can find axis2.sh file.
this file can be used to excecute any main class within axis2 distribution
since it set the class path correctly.



On 6/1/07, Rich Adili <Ri...@xata.com> wrote:
>
> Yep, tons of them. Since writing this I've done some puttering about
> with various bindings and not found a good solution. The code generated
> by XSD2Java doesn't like my XML. The XML conforms to the schema but does
> not reference the schema so the generated code doesn't recognize the
> namespace of any of its tags.
>
> -----Original Message-----
> From: Paul Fremantle [mailto:pzfreo@gmail.com]
> Sent: Friday, June 01, 2007 7:49 AM
> To: axis-user@ws.apache.org
> Subject: Re: XSD2Java
>
> Rich
>
> Do you have schema somewhere (i.e. just not in the WSDL)?
>
> Paul
>
> On 5/31/07, Rich Adili <Ri...@xata.com> wrote:
> > Hi,
> >
> > My services exchange a number of XML documents that aren't code
> > generated from WSDL as the content is spec'ed as xs:any. Is XSD2Java
> my
> > best choice for generating Java bindings for these documents? Any
> > documentation or examples lying around?
> >
> > Thanks,
> > Rich
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> --
> Paul Fremantle
> Co-Founder and VP of Technical Sales, WSO2
> OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> paul@wso2.com
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Amila Suriarachchi,
WSO2 Inc.

RE: XSD2Java

Posted by Rich Adili <Ri...@xata.com>.
Yep, tons of them. Since writing this I've done some puttering about
with various bindings and not found a good solution. The code generated
by XSD2Java doesn't like my XML. The XML conforms to the schema but does
not reference the schema so the generated code doesn't recognize the
namespace of any of its tags. 

-----Original Message-----
From: Paul Fremantle [mailto:pzfreo@gmail.com] 
Sent: Friday, June 01, 2007 7:49 AM
To: axis-user@ws.apache.org
Subject: Re: XSD2Java

Rich

Do you have schema somewhere (i.e. just not in the WSDL)?

Paul

On 5/31/07, Rich Adili <Ri...@xata.com> wrote:
> Hi,
>
> My services exchange a number of XML documents that aren't code
> generated from WSDL as the content is spec'ed as xs:any. Is XSD2Java
my
> best choice for generating Java bindings for these documents? Any
> documentation or examples lying around?
>
> Thanks,
> Rich
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: XSD2Java

Posted by Paul Fremantle <pz...@gmail.com>.
Rich

Do you have schema somewhere (i.e. just not in the WSDL)?

Paul

On 5/31/07, Rich Adili <Ri...@xata.com> wrote:
> Hi,
>
> My services exchange a number of XML documents that aren't code
> generated from WSDL as the content is spec'ed as xs:any. Is XSD2Java my
> best choice for generating Java bindings for these documents? Any
> documentation or examples lying around?
>
> Thanks,
> Rich
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: XSD2Java

Posted by Anne Thomas Manes <at...@gmail.com>.
XSD2Java won't do you any good if the schema doesn't define the
document format. I recommend using WSDL2Java, and Axis2 will map the
<xs:any> to an OMElement. You can then process the message using
AXIOM.

Anne

On 5/30/07, Rich Adili <Ri...@xata.com> wrote:
> Hi,
>
> My services exchange a number of XML documents that aren't code
> generated from WSDL as the content is spec'ed as xs:any. Is XSD2Java my
> best choice for generating Java bindings for these documents? Any
> documentation or examples lying around?
>
> Thanks,
> Rich
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


XSD2Java

Posted by Rich Adili <Ri...@xata.com>.
Hi,

My services exchange a number of XML documents that aren't code
generated from WSDL as the content is spec'ed as xs:any. Is XSD2Java my
best choice for generating Java bindings for these documents? Any
documentation or examples lying around?

Thanks,
Rich

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


RE: Axis2 & SSL

Posted by George Stanchev <Gs...@serena.com>.
Thanks but I need it per connection. I have multiple threads opening
multiple axis2 clients simultatneously and this is really not
thread-safe.

Is there any axis2-specific way to accomplish this?

Thanks in advance!

Best Regards,
George

-----Original Message-----
From: Davanum Srinivas [mailto:davanum@gmail.com] 
Sent: Wednesday, May 30, 2007 11:09 AM
To: axis-user@ws.apache.org
Subject: Re: Axis2 & SSL

http://www.mail-archive.com/axis-user@ws.apache.org/msg19269.html

On 5/30/07, George Stanchev <Gs...@serena.com> wrote:
> Hi,
>
> I am sure this question has been asked many many times...
>
> Can you please point me to a doc or sample on how to call service over

> SSL when the server is using self-signed certificate?
>
> Thanks in advance!
>
> George
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. Any unauthorized review, use, disclosure or distribution is
prohibited. If you are not the intended recipient, please contact the
sender by reply e-mail and destroy all copies of the original message.
> **********************************************************************
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


--
Davanum Srinivas :: http://davanum.wordpress.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Axis2 & SSL

Posted by Davanum Srinivas <da...@gmail.com>.
http://www.mail-archive.com/axis-user@ws.apache.org/msg19269.html

On 5/30/07, George Stanchev <Gs...@serena.com> wrote:
> Hi,
>
> I am sure this question has been asked many many times...
>
> Can you please point me to a doc or sample on how to call service over
> SSL
> when the server is using self-signed certificate?
>
> Thanks in advance!
>
> George
>
> **********************************************************************
> This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
> **********************************************************************
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Davanum Srinivas :: http://davanum.wordpress.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


RE: Axis2 & SSL

Posted by Nathan Hook <ho...@hotmail.com>.
If you're in a NON production environment you can accept all certificates.

http://archives.devshed.com/forums/apache-92/using-easysslprotocolsocketfactory-to-accept-self-signed-certs-1847276.html

http://juliusdavies.ca/commons-ssl/


----Original Message Follows----
From: "George Stanchev" <Gs...@serena.com>
Reply-To: axis-user@ws.apache.org
To: <ax...@ws.apache.org>
Subject: Axis2 & SSL
Date: Wed, 30 May 2007 08:45:25 -0700

Hi,

I am sure this question has been asked many many times...

Can you please point me to a doc or sample on how to call service over
SSL
when the server is using self-signed certificate?

Thanks in advance!

George

**********************************************************************
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 
Any unauthorized review, use, disclosure or distribution is prohibited. If 
you are not the intended recipient, please contact the sender by reply 
e-mail and destroy all copies of the original message.
**********************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org

_________________________________________________________________
Like the way Microsoft Office Outlook works? You’ll love Windows Live 
Hotmail. 
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_outlook_0507


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org