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 "D. Delcomminette" <dd...@aireinfo.com> on 2003/06/19 12:13:48 UTC

New to Axis

Hi,

I am new to Axis, I usually work with ColdFusion MX Web Services. However I
would need to tweak a CFMX WSDL file, I heard it is possible with WSDL2Java.
Does anybody have guidelines to do that with a CFMX Web Service ?

Thanks

Dominique



RE: New to Axis

Posted by "D. Delcomminette" <dd...@aireinfo.com>.
The thing is that the WSDL generated by CFMX is cached, and not stored on
disk, thus not editable. All the Web Service generation and deployment is
encapsulated and hidden in CF. So I can't modify the WSDL and give it back
to CF to deploy the WS.
What I want to do is modify the WSDL for example to change the encoding
type, also to define complex types. Ther are references to this technique in
a book about CFMX but it is not available in my place.
I am new to this list, so it would be nice if you could put me in touch with
Glen or Tom.

Dominique

-----Original Message-----
From: Anne Thomas Manes [mailto:anne@manes.net]
Sent: 19 June, 2003 19:07
To: axis-user@ws.apache.org
Subject: Re: New to Axis

I don't understand what you're trying to do.

ColdFusion uses Axis as its SOAP server. So as with Axis, ColdFusion
auto-generates the WSDL file when you deploy your service. You should be
able to access the auto-generated WSDL file after the service has been
deployed by GETing the service URL appended with ?wsdl. (e.g..
http://my.service.org/service?wsdl)

You can then take this WSDL file and edit it. Then you should be able to
redeploy the service, this time specifying your own WSDL file.

wsdl2java generates client and server stubs from the WSDL file. java2wsdl
generates WSDL from your Java class. I doubt that either of these tools will
help you in this situation (and -- by the way -- both of these tools are
included with ColdFusion).

But maybe Glen or Tom can provide more specific info about ColdFusion.

Anne

----- Original Message -----
From: "D. Delcomminette" <dd...@aireinfo.com>
To: <ax...@ws.apache.org>
Sent: Thursday, June 19, 2003 9:37 AM
Subject: RE: New to Axis


> Coldfusion is generationg WSDL on the fly, so I can't acces the file. I
> really need to modify it but than I can't use it anymore with ColdFusion
...
> I heard about a method with WSDL2java.
>
> -----Original Message-----
> From: Anne Thomas Manes [mailto:anne@manes.net]
> Sent: 19 June, 2003 16:02
> To: axis-user@ws.apache.org
> Subject: Re: New to Axis
>
> If you're just trying to tweak an existing WSDL file, I suggest that you
use
> a WSDL editor. Cape Clear provides an open source WSDL tool (although it
> tends to populate your WSDL with it's own namespaces and such). (see
> http://www.capeclear.com). You might try OmniOpera -- you can get a free
30
> evaluation license. It provides a nice qname tool that helps ensure that
> you're using qnames properly. (see http://www.omniopera.com). And
certainly
> the premium tool is XMLSpy. (see http://www.xmlspy.com)
>
> Anne
>
> ----- Original Message -----
> From: "D. Delcomminette" <dd...@aireinfo.com>
> To: <ax...@ws.apache.org>
> Sent: Thursday, June 19, 2003 6:13 AM
> Subject: New to Axis
>
>
> > Hi,
> >
> > I am new to Axis, I usually work with ColdFusion MX Web Services.
However
> I
> > would need to tweak a CFMX WSDL file, I heard it is possible with
> WSDL2Java.
> > Does anybody have guidelines to do that with a CFMX Web Service ?
> >
> > Thanks
> >
> > Dominique
> >
> >
>


Re: New to Axis

Posted by Anne Thomas Manes <an...@manes.net>.
I don't understand what you're trying to do.

ColdFusion uses Axis as its SOAP server. So as with Axis, ColdFusion
auto-generates the WSDL file when you deploy your service. You should be
able to access the auto-generated WSDL file after the service has been
deployed by GETing the service URL appended with ?wsdl. (e.g..
http://my.service.org/service?wsdl)

You can then take this WSDL file and edit it. Then you should be able to
redeploy the service, this time specifying your own WSDL file.

wsdl2java generates client and server stubs from the WSDL file. java2wsdl
generates WSDL from your Java class. I doubt that either of these tools will
help you in this situation (and -- by the way -- both of these tools are
included with ColdFusion).

But maybe Glen or Tom can provide more specific info about ColdFusion.

Anne

----- Original Message -----
From: "D. Delcomminette" <dd...@aireinfo.com>
To: <ax...@ws.apache.org>
Sent: Thursday, June 19, 2003 9:37 AM
Subject: RE: New to Axis


> Coldfusion is generationg WSDL on the fly, so I can't acces the file. I
> really need to modify it but than I can't use it anymore with ColdFusion
...
> I heard about a method with WSDL2java.
>
> -----Original Message-----
> From: Anne Thomas Manes [mailto:anne@manes.net]
> Sent: 19 June, 2003 16:02
> To: axis-user@ws.apache.org
> Subject: Re: New to Axis
>
> If you're just trying to tweak an existing WSDL file, I suggest that you
use
> a WSDL editor. Cape Clear provides an open source WSDL tool (although it
> tends to populate your WSDL with it's own namespaces and such). (see
> http://www.capeclear.com). You might try OmniOpera -- you can get a free
30
> evaluation license. It provides a nice qname tool that helps ensure that
> you're using qnames properly. (see http://www.omniopera.com). And
certainly
> the premium tool is XMLSpy. (see http://www.xmlspy.com)
>
> Anne
>
> ----- Original Message -----
> From: "D. Delcomminette" <dd...@aireinfo.com>
> To: <ax...@ws.apache.org>
> Sent: Thursday, June 19, 2003 6:13 AM
> Subject: New to Axis
>
>
> > Hi,
> >
> > I am new to Axis, I usually work with ColdFusion MX Web Services.
However
> I
> > would need to tweak a CFMX WSDL file, I heard it is possible with
> WSDL2Java.
> > Does anybody have guidelines to do that with a CFMX Web Service ?
> >
> > Thanks
> >
> > Dominique
> >
> >
>


RE: New to Axis

Posted by "D. Delcomminette" <dd...@aireinfo.com>.
Coldfusion is generationg WSDL on the fly, so I can't acces the file. I
really need to modify it but than I can't use it anymore with ColdFusion ...
I heard about a method with WSDL2java.

-----Original Message-----
From: Anne Thomas Manes [mailto:anne@manes.net]
Sent: 19 June, 2003 16:02
To: axis-user@ws.apache.org
Subject: Re: New to Axis

If you're just trying to tweak an existing WSDL file, I suggest that you use
a WSDL editor. Cape Clear provides an open source WSDL tool (although it
tends to populate your WSDL with it's own namespaces and such). (see
http://www.capeclear.com). You might try OmniOpera -- you can get a free 30
evaluation license. It provides a nice qname tool that helps ensure that
you're using qnames properly. (see http://www.omniopera.com). And certainly
the premium tool is XMLSpy. (see http://www.xmlspy.com)

Anne

----- Original Message -----
From: "D. Delcomminette" <dd...@aireinfo.com>
To: <ax...@ws.apache.org>
Sent: Thursday, June 19, 2003 6:13 AM
Subject: New to Axis


> Hi,
>
> I am new to Axis, I usually work with ColdFusion MX Web Services. However
I
> would need to tweak a CFMX WSDL file, I heard it is possible with
WSDL2Java.
> Does anybody have guidelines to do that with a CFMX Web Service ?
>
> Thanks
>
> Dominique
>
>


Re: New to Axis

Posted by Anne Thomas Manes <an...@manes.net>.
If you're just trying to tweak an existing WSDL file, I suggest that you use
a WSDL editor. Cape Clear provides an open source WSDL tool (although it
tends to populate your WSDL with it's own namespaces and such). (see
http://www.capeclear.com). You might try OmniOpera -- you can get a free 30
evaluation license. It provides a nice qname tool that helps ensure that
you're using qnames properly. (see http://www.omniopera.com). And certainly
the premium tool is XMLSpy. (see http://www.xmlspy.com)

Anne

----- Original Message -----
From: "D. Delcomminette" <dd...@aireinfo.com>
To: <ax...@ws.apache.org>
Sent: Thursday, June 19, 2003 6:13 AM
Subject: New to Axis


> Hi,
>
> I am new to Axis, I usually work with ColdFusion MX Web Services. However
I
> would need to tweak a CFMX WSDL file, I heard it is possible with
WSDL2Java.
> Does anybody have guidelines to do that with a CFMX Web Service ?
>
> Thanks
>
> Dominique
>
>