A generally [silly] Q

2009-07-17 Thread Demetris G


Both a WSDL request response from the Axis2 server and a SOAP message 
leaving
an Axis2 client are exactly identical with what the Axis 1.4 and its 
corresponding
client would emit. Yes? Both WSDl and SOAP are standards so I am not 
expecting
them to be any different, but do the two different implementations emit 
any other data

that is different between them?

Thanks



Re: A generally [silly] Q

2009-07-17 Thread Demetris G


Exactly what I was looking for - thanks Dennis.

Dennis Sosnoski wrote:
There can be many types of differences between XML documents which are 
not considered to be significant (whitespace, prefixes used for 
namespaces, etc.), so if by exactly identical you mean the same 
exact sequence of characters the answer is very likely no. If you 
mean they'll be equivalent XML documents, the answer is still very 
likely no in the case of the WSDL, since Axis2 uses very different 
code from Axis 1.4 to generate the WSDL and many aspects of the WSDL 
are arbitrary (message names, etc.). For the actual SOAP message 
you're more likely to have equivalent XML documents, but even here 
there's room for differences without either implementation being in 
error (skipping an element vs. including it with xsi:nil='true' when 
the schema has both minOccurs=0 and nillable=true, for instance).


 - Dennis



Re: Axis WS on mobile devices

2009-07-16 Thread Demetris G


Hi Dennis,

   in case you know while I am still looking for good tutorials on this 
- is the kSOAP/kSOAP2 engine
along the lines of Axis? I mean, beyond the general implementation of 
the specification, does it offer
tools to generate stubs from WSDL files etc? I don't seem to be able to 
find even these basic

documentations on their web site.

Thanks very much

Dennis Sosnoski wrote:

Hi Demetris,

kXML is the parser you'd use with JiBX for J2ME support. From what I 
know of kSOAP/kSOAP2 I suspect they'd be considerably lower 
performance than JiBX/WS, but if you're not anticipating a high 
message volume that shouldn't really matter. They'd probably also be 
more memory-intensive, though, and that might be more of an issue. 
Bottom line is probably that you should give them a try and see if 
they meet your needs.


And yes, JiBX is open source with a BSD-style license.

 - Dennis



Re: Axis WS on mobile devices

2009-07-16 Thread Demetris G


I was expecting so - thanks Dennis - so my best bet to emulate Axis 
engines (server/client

behavior) on mobile devices is not kSOAPx ;)

Dennis Sosnoski wrote:

Hi Demetris,

I haven't worked with kSOAP/kSOAP2 myself, but from what I remember it 
provides very basic support for SOAP messaging. So no, I don't think 
it handles code generation. :-(


 - Dennis


Demetris G wrote:


Hi Dennis,

   in case you know while I am still looking for good tutorials on 
this - is the kSOAP/kSOAP2 engine
along the lines of Axis? I mean, beyond the general implementation of 
the specification, does it offer
tools to generate stubs from WSDL files etc? I don't seem to be able 
to find even these basic

documentations on their web site.

Thanks very much

Dennis Sosnoski wrote:

Hi Demetris,

kXML is the parser you'd use with JiBX for J2ME support. From what I 
know of kSOAP/kSOAP2 I suspect they'd be considerably lower 
performance than JiBX/WS, but if you're not anticipating a high 
message volume that shouldn't really matter. They'd probably also be 
more memory-intensive, though, and that might be more of an issue. 
Bottom line is probably that you should give them a try and see if 
they meet your needs.


And yes, JiBX is open source with a BSD-style license.

 - Dennis







Re: WSDL gen error

2009-07-14 Thread Demetris G


And one more pt -

If most likely we need to have entities in the WSDL file namespace 
qualified, and the
WSDL parsers on the client side complain if they are not (as in the case 
of wsdl:types
vs. types) then is this an exceptional case that should not occur? Why 
would Axis

generate WSDL tags that the corresponding WSDL parsers cannot handle??

Lars Ericsson wrote:

HI Demtirs!

I couldn't understand what is your problem, please describe more about 
your problem.
The namespace  can be anything, and it is nothing to do whit network, 
connection or anything else.

Please read more about namespace.
but if you get two different wsdl from two different environment, 
sound strange, alse i suppose you have the same axis-version same-java 
version and so on.
Please check manually call any service on those two service, if you 
don't get the same respons, it is some thing you should be worried 
about it. otherwise the differences between those two wsdl-s is not 
importent.




*From:* Demetris G demet...@ece.neu.edu
*To:* axis-user@ws.apache.org
*Sent:* Sunday, July 12, 2009 7:32:32 AM
*Subject:* Re: WSDL gen error


Hi again,

  I am beginning to worry that (a) I am either asking a really stupid 
question here
and in the thread that is listed further down in my email that is not 
worth wasting
any time on (b) a really complicated question (I doubt it) (c) I am in 
the wrong

list ... should I move these two questions to the axis-dev you think?

  If axis is giving me a different WSDL file in two different Linux 
machines while
the configuration and version is the same, is that a bug I need to 
worry about?
And at least any information on how to manipulate the IP address in 
the WSDL

would be greatly appreciated.

Anyone??

Thanks once again
Demetris

Demetris G wrote:

 Hi all,

 Calling a service on the same machine as the axis server will set 
the namespace

 http://127.0.0.1:8080/axis/services/

 However, calling it from another node in the same network behind a 
NAT still

 returns the same IP address in the name space - is that normal?

 Also, how can the IP address in the first case (calling it from the 
same machine)

 be set to the true IP address of the machine?

 Also if anyone has any more info on my email below it will be 
greatly appreciated.


 Thanks
 Demetris

 Demetris G wrote:

 And scanning through the two WSDL files I see also other diffs -

 wsdl:message name=mainRequest
 wsdl:part name=args type=impl:ArrayOf_soapenc_string/
 /wsdl:message

 vs.

 wsdl:message name=mainRequest
 wsdl:part name=args type=intf:ArrayOf_soapenc_string/
 /wsdl:message

 So it seems to me that it treats the same service a bit differently 
on a separate

 machine even though the setup/config etc of the server is identical.

 Demetris G wrote:

 At least someone may know this - what would cause the Axis engine 
to generate WSDLs
 with types instead of wsdl:types? If I know that then I can 
probably figure out why
 the same Axis engine distribution on two different Linux boxes 
would generate two different

 types of WSDLs - I am using the same browser to issue the request:
 http://xxx.xxx.xxx.xxx:8080/axis/services/remoteBooks?wsdl

 One engine gives this:
 types

 ...
 /types

 and the other:
 wsdl:types
 schema targetNamespace=http://xml.apache.org/xml-soap;
 ...
 /wsdl:types

 Any ideas?

 Thanks


 Demetris G wrote:

 And a follow up -

 same Axis engine (running in exactly same OSGi containers, same 
services, on one
 Linux machine it generates the WSDL file with types and the 
other with wsdl:types !

 Why is that the case? This is a bit puzzling.

 Thanks very much in advance

 Demetris G wrote:

 Hi all,

this may have been asked a while back - what would cause the 
Axis engine to generate
 WSDLs that carry types instead of wsdl:types: This causes 
the WSDL parser I use

 to throw:

 [java] WSDLException (at /wsdl:definitions/types): 
faultCode=INVALID_WSDL:
 Encountered illegal extension element 'types' in the context of 
a 'javax.wsdl.Definition'.

 Extension elements must be in a namespace other than WSDL's.:

 Using Axis 1.4 over java 1.5.

 Any ideas?

 Thanks









Re: WSDL gen error

2009-07-14 Thread Demetris G


In case it helps the case here is the exception I get on the client side -

[java] WSDLException (at /wsdl:definitions/types): 
faultCode=INVALID_WSDL: Encountered illegal
extension element 'types' in the context of a 'javax.wsdl.Definition'. 
Extension elements must be in a namespace

other than WSDL's.:
[java] at 
com.ibm.wsdl.xml.WSDLReaderImpl.parseExtensibilityElement(Unknown Source)
[java] at 
com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)

[java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
[java] at Utils.myWSDLParser.parseWSDL(myWSDLParser.java:46)

Any ideas greatly appreciated - thanks.

Demetris G wrote:


And one more pt -

If most likely we need to have entities in the WSDL file namespace 
qualified, and the
WSDL parsers on the client side complain if they are not (as in the 
case of wsdl:types
vs. types) then is this an exceptional case that should not occur? 
Why would Axis

generate WSDL tags that the corresponding WSDL parsers cannot handle??

Lars Ericsson wrote:

HI Demtirs!

I couldn't understand what is your problem, please describe more 
about your problem.
The namespace  can be anything, and it is nothing to do whit network, 
connection or anything else.

Please read more about namespace.
but if you get two different wsdl from two different environment, 
sound strange, alse i suppose you have the same axis-version 
same-java version and so on.
Please check manually call any service on those two service, if you 
don't get the same respons, it is some thing you should be worried 
about it. otherwise the differences between those two wsdl-s is not 
importent.




*From:* Demetris G demet...@ece.neu.edu
*To:* axis-user@ws.apache.org
*Sent:* Sunday, July 12, 2009 7:32:32 AM
*Subject:* Re: WSDL gen error


Hi again,

  I am beginning to worry that (a) I am either asking a really stupid 
question here
and in the thread that is listed further down in my email that is not 
worth wasting
any time on (b) a really complicated question (I doubt it) (c) I am 
in the wrong

list ... should I move these two questions to the axis-dev you think?

  If axis is giving me a different WSDL file in two different Linux 
machines while
the configuration and version is the same, is that a bug I need to 
worry about?
And at least any information on how to manipulate the IP address in 
the WSDL

would be greatly appreciated.

Anyone??

Thanks once again
Demetris

Demetris G wrote:

 Hi all,

 Calling a service on the same machine as the axis server will set 
the namespace

 http://127.0.0.1:8080/axis/services/

 However, calling it from another node in the same network behind a 
NAT still

 returns the same IP address in the name space - is that normal?

 Also, how can the IP address in the first case (calling it from the 
same machine)

 be set to the true IP address of the machine?

 Also if anyone has any more info on my email below it will be 
greatly appreciated.


 Thanks
 Demetris

 Demetris G wrote:

 And scanning through the two WSDL files I see also other diffs -

 wsdl:message name=mainRequest
 wsdl:part name=args type=impl:ArrayOf_soapenc_string/
 /wsdl:message

 vs.

 wsdl:message name=mainRequest
 wsdl:part name=args type=intf:ArrayOf_soapenc_string/
 /wsdl:message

 So it seems to me that it treats the same service a bit 
differently on a separate

 machine even though the setup/config etc of the server is identical.

 Demetris G wrote:

 At least someone may know this - what would cause the Axis engine 
to generate WSDLs
 with types instead of wsdl:types? If I know that then I can 
probably figure out why
 the same Axis engine distribution on two different Linux boxes 
would generate two different

 types of WSDLs - I am using the same browser to issue the request:
 http://xxx.xxx.xxx.xxx:8080/axis/services/remoteBooks?wsdl

 One engine gives this:
 types

 ...
 /types

 and the other:
 wsdl:types
 schema targetNamespace=http://xml.apache.org/xml-soap;
 ...
 /wsdl:types

 Any ideas?

 Thanks


 Demetris G wrote:

 And a follow up -

 same Axis engine (running in exactly same OSGi containers, same 
services, on one
 Linux machine it generates the WSDL file with types and the 
other with wsdl:types !

 Why is that the case? This is a bit puzzling.

 Thanks very much in advance

 Demetris G wrote:

 Hi all,

this may have been asked a while back - what would cause 
the Axis engine to generate
 WSDLs that carry types instead of wsdl:types: This causes 
the WSDL parser I use

 to throw:

 [java] WSDLException (at /wsdl:definitions/types): 
faultCode=INVALID_WSDL:
 Encountered illegal extension element 'types' in the context

Re: WSDL gen error

2009-07-13 Thread Demetris G


Hi Lars,

   thanks for  the response and the info regarding the namespace. My 
issue is the following -


We have the Axis (1.4) bundles running in the OSGi container on a set of 
Linux machines with
no issues. Web Services can be published and invoked upon - the WSDL 
files that are generated
by these Axis bundles are correct and they can generate correct 
operational stubs.
We needed to run a few of these on some powerful mobile devices that can 
actually run Jalimo,
a full version (for fhe most part) of Java 1.5 based on the GNU 
libraries. So we simply installed
the same OSGi container and Axis (1.4) bundles on them and ran them. The 
Axis servers work
as they should, the generate WSDL files when invoked - however, the WSDL 
file they generate
encaplsulate the scheme definitions in types tags instead of 
wsdl:types ! This is an issue
because  the XML parsers that process wsdl:types tags nicely have a 
problem with the types

tags.
After hours of searching I came upon this - 
http://issues.apache.org/jira/browse/AXIS-2336.
Others a while back have encountered the same issue when running Axis on 
particular containers.
However, (a) their resolution is specific to their container (b) my 
issue is not the type of container
since the OSGi container works fine with Axis. My issue is that I moved 
more a Linux desktop
to a Linux mobile device, even though the executables and runtime 
remained the same.


I know that Axis 1.4 is ancient, however, there are still many of them 
in production and migration
for us is in our future plans but for now we need to get this to work. 
Any ideas would be greatly

appreciated.


Regards

Lars Ericsson wrote:

HI Demtirs!

I couldn't understand what is your problem, please describe more about 
your problem.
The namespace  can be anything, and it is nothing to do whit network, 
connection or anything else.

Please read more about namespace.
but if you get two different wsdl from two different environment, 
sound strange, alse i suppose you have the same axis-version same-java 
version and so on.
Please check manually call any service on those two service, if you 
don't get the same respons, it is some thing you should be worried 
about it. otherwise the differences between those two wsdl-s is not 
importent.




*From:* Demetris G demet...@ece.neu.edu
*To:* axis-user@ws.apache.org
*Sent:* Sunday, July 12, 2009 7:32:32 AM
*Subject:* Re: WSDL gen error


Hi again,

  I am beginning to worry that (a) I am either asking a really stupid 
question here
and in the thread that is listed further down in my email that is not 
worth wasting
any time on (b) a really complicated question (I doubt it) (c) I am in 
the wrong

list ... should I move these two questions to the axis-dev you think?

  If axis is giving me a different WSDL file in two different Linux 
machines while
the configuration and version is the same, is that a bug I need to 
worry about?
And at least any information on how to manipulate the IP address in 
the WSDL

would be greatly appreciated.

Anyone??

Thanks once again
Demetris

Demetris G wrote:

 Hi all,

 Calling a service on the same machine as the axis server will set 
the namespace

 http://127.0.0.1:8080/axis/services/

 However, calling it from another node in the same network behind a 
NAT still

 returns the same IP address in the name space - is that normal?

 Also, how can the IP address in the first case (calling it from the 
same machine)

 be set to the true IP address of the machine?

 Also if anyone has any more info on my email below it will be 
greatly appreciated.


 Thanks
 Demetris

 Demetris G wrote:

 And scanning through the two WSDL files I see also other diffs -

 wsdl:message name=mainRequest
 wsdl:part name=args type=impl:ArrayOf_soapenc_string/
 /wsdl:message

 vs.

 wsdl:message name=mainRequest
 wsdl:part name=args type=intf:ArrayOf_soapenc_string/
 /wsdl:message

 So it seems to me that it treats the same service a bit differently 
on a separate

 machine even though the setup/config etc of the server is identical.

 Demetris G wrote:

 At least someone may know this - what would cause the Axis engine 
to generate WSDLs
 with types instead of wsdl:types? If I know that then I can 
probably figure out why
 the same Axis engine distribution on two different Linux boxes 
would generate two different

 types of WSDLs - I am using the same browser to issue the request:
 http://xxx.xxx.xxx.xxx:8080/axis/services/remoteBooks?wsdl

 One engine gives this:
 types

 ...
 /types

 and the other:
 wsdl:types
 schema targetNamespace=http://xml.apache.org/xml-soap;
 ...
 /wsdl:types

 Any ideas?

 Thanks


 Demetris G wrote:

 And a follow up -

 same Axis engine (running in exactly same OSGi containers, same 
services, on one
 Linux machine it generates the WSDL file with types and the 
other with wsdl:types !

 Why is that the case? This is a bit puzzling.

 Thanks very

Re: WSDL gen error

2009-07-11 Thread Demetris G


Hi again,

   I am beginning to worry that (a) I am either asking a really stupid 
question here
and in the thread that is listed further down in my email that is not 
worth wasting
any time on (b) a really complicated question (I doubt it) (c) I am in 
the wrong

list ... should I move these two questions to the axis-dev you think?

   If axis is giving me a different WSDL file in two different Linux 
machines while
the configuration and version is the same, is that a bug I need to worry 
about?

And at least any information on how to manipulate the IP address in the WSDL
would be greatly appreciated.

Anyone??

Thanks once again
Demetris

Demetris G wrote:


Hi all,

Calling a service on the same machine as the axis server will set the 
namespace

wsdl:definitions targetNamespace=http://127.0.0.1:8080/axis/services/

However, calling it from another node in the same network behind a NAT 
still

returns the same IP address in the name space - is that normal?

Also, how can the IP address in the first case (calling it from the 
same machine)

be set to the true IP address of the machine?

Also if anyone has any more info on my email below it will be greatly 
appreciated.


Thanks
Demetris

Demetris G wrote:


And scanning through the two WSDL files I see also other diffs -

wsdl:message name=mainRequest
wsdl:part name=args type=impl:ArrayOf_soapenc_string/
/wsdl:message

vs.

wsdl:message name=mainRequest
wsdl:part name=args type=intf:ArrayOf_soapenc_string/
/wsdl:message

So it seems to me that it treats the same service a bit differently 
on a separate

machine even though the setup/config etc of the server is identical.

Demetris G wrote:


At least someone may know this - what would cause the Axis engine to 
generate WSDLs
with types instead of wsdl:types? If I know that then I can 
probably figure out why
the same Axis engine distribution on two different Linux boxes would 
generate two different

types of WSDLs - I am using the same browser to issue the request:
http://xxx.xxx.xxx.xxx:8080/axis/services/remoteBooks?wsdl

One engine gives this:
types
schema targetNamespace=http://xml.apache.org/xml-soap;
...
/types

and the other:
wsdl:types
schema targetNamespace=http://xml.apache.org/xml-soap;
...
/wsdl:types

Any ideas?

Thanks



Demetris G wrote:


And a follow up -

same Axis engine (running in exactly same OSGi containers, same 
services, on one
Linux machine it generates the WSDL file with types and the 
other with wsdl:types !

Why is that the case? This is a bit puzzling.

Thanks very much in advance

Demetris G wrote:


Hi all,

   this may have been asked a while back - what would cause the 
Axis engine to generate
WSDLs that carry types instead of wsdl:types: This causes the 
WSDL parser I use

to throw:

[java] WSDLException (at /wsdl:definitions/types): 
faultCode=INVALID_WSDL:
Encountered illegal extension element 'types' in the context of a 
'javax.wsdl.Definition'.

Extension elements must be in a namespace other than WSDL's.:

Using Axis 1.4 over java 1.5.

Any ideas?

Thanks













Re: WSDL gen error

2009-07-10 Thread Demetris G


Hi all,

Calling a service on the same machine as the axis server will set the 
namespace

wsdl:definitions targetNamespace=http://127.0.0.1:8080/axis/services/

However, calling it from another node in the same network behind a NAT still
returns the same IP address in the name space - is that normal?

Also, how can the IP address in the first case (calling it from the same 
machine)

be set to the true IP address of the machine?

Also if anyone has any more info on my email below it will be greatly 
appreciated.


Thanks
Demetris

Demetris G wrote:


And scanning through the two WSDL files I see also other diffs -

wsdl:message name=mainRequest
wsdl:part name=args type=impl:ArrayOf_soapenc_string/
/wsdl:message

vs.

wsdl:message name=mainRequest
wsdl:part name=args type=intf:ArrayOf_soapenc_string/
/wsdl:message

So it seems to me that it treats the same service a bit differently on 
a separate

machine even though the setup/config etc of the server is identical.

Demetris G wrote:


At least someone may know this - what would cause the Axis engine to 
generate WSDLs
with types instead of wsdl:types? If I know that then I can 
probably figure out why
the same Axis engine distribution on two different Linux boxes would 
generate two different

types of WSDLs - I am using the same browser to issue the request:
http://xxx.xxx.xxx.xxx:8080/axis/services/remoteBooks?wsdl

One engine gives this:
types
schema targetNamespace=http://xml.apache.org/xml-soap;
...
/types

and the other:
wsdl:types
schema targetNamespace=http://xml.apache.org/xml-soap;
...
/wsdl:types

Any ideas?

Thanks



Demetris G wrote:


And a follow up -

same Axis engine (running in exactly same OSGi containers, same 
services, on one
Linux machine it generates the WSDL file with types and the other 
with wsdl:types !

Why is that the case? This is a bit puzzling.

Thanks very much in advance

Demetris G wrote:


Hi all,

   this may have been asked a while back - what would cause the 
Axis engine to generate
WSDLs that carry types instead of wsdl:types: This causes the 
WSDL parser I use

to throw:

[java] WSDLException (at /wsdl:definitions/types): 
faultCode=INVALID_WSDL:
Encountered illegal extension element 'types' in the context of a 
'javax.wsdl.Definition'.

Extension elements must be in a namespace other than WSDL's.:

Using Axis 1.4 over java 1.5.

Any ideas?

Thanks











Re: WSDL gen error

2009-07-09 Thread Demetris G


At least someone may know this - what would cause the Axis engine to 
generate WSDLs
with types instead of wsdl:types? If I know that then I can probably 
figure out why
the same Axis engine distribution on two different Linux boxes would 
generate two different

types of WSDLs - I am using the same browser to issue the request:
http://xxx.xxx.xxx.xxx:8080/axis/services/remoteBooks?wsdl

One engine gives this:
types
schema targetNamespace=http://xml.apache.org/xml-soap;
...
/types

and the other:
wsdl:types
schema targetNamespace=http://xml.apache.org/xml-soap;
...
/wsdl:types

Any ideas?

Thanks



Demetris G wrote:


And a follow up -

same Axis engine (running in exactly same OSGi containers, same 
services, on one
Linux machine it generates the WSDL file with types and the other 
with wsdl:types !

Why is that the case? This is a bit puzzling.

Thanks very much in advance

Demetris G wrote:


Hi all,

   this may have been asked a while back - what would cause the Axis 
engine to generate
WSDLs that carry types instead of wsdl:types: This causes the 
WSDL parser I use

to throw:

[java] WSDLException (at /wsdl:definitions/types): 
faultCode=INVALID_WSDL:
Encountered illegal extension element 'types' in the context of a 
'javax.wsdl.Definition'.

Extension elements must be in a namespace other than WSDL's.:

Using Axis 1.4 over java 1.5.

Any ideas?

Thanks







Re: WSDL gen error

2009-07-09 Thread Demetris G


And scanning through the two WSDL files I see also other diffs -

wsdl:message name=mainRequest
wsdl:part name=args type=impl:ArrayOf_soapenc_string/
/wsdl:message

vs.

wsdl:message name=mainRequest
wsdl:part name=args type=intf:ArrayOf_soapenc_string/
/wsdl:message

So it seems to me that it treats the same service a bit differently on a 
separate

machine even though the setup/config etc of the server is identical.

Demetris G wrote:


At least someone may know this - what would cause the Axis engine to 
generate WSDLs
with types instead of wsdl:types? If I know that then I can 
probably figure out why
the same Axis engine distribution on two different Linux boxes would 
generate two different

types of WSDLs - I am using the same browser to issue the request:
http://xxx.xxx.xxx.xxx:8080/axis/services/remoteBooks?wsdl

One engine gives this:
types
schema targetNamespace=http://xml.apache.org/xml-soap;
...
/types

and the other:
wsdl:types
schema targetNamespace=http://xml.apache.org/xml-soap;
...
/wsdl:types

Any ideas?

Thanks



Demetris G wrote:


And a follow up -

same Axis engine (running in exactly same OSGi containers, same 
services, on one
Linux machine it generates the WSDL file with types and the other 
with wsdl:types !

Why is that the case? This is a bit puzzling.

Thanks very much in advance

Demetris G wrote:


Hi all,

   this may have been asked a while back - what would cause the 
Axis engine to generate
WSDLs that carry types instead of wsdl:types: This causes the 
WSDL parser I use

to throw:

[java] WSDLException (at /wsdl:definitions/types): 
faultCode=INVALID_WSDL:
Encountered illegal extension element 'types' in the context of a 
'javax.wsdl.Definition'.

Extension elements must be in a namespace other than WSDL's.:

Using Axis 1.4 over java 1.5.

Any ideas?

Thanks









Re: WSDL gen error

2009-07-08 Thread Demetris G


And a follow up -

same Axis engine (running in exactly same OSGi containers, same 
services, on one
Linux machine it generates the WSDL file with types and the other with 
wsdl:types !

Why is that the case? This is a bit puzzling.

Thanks very much in advance

Demetris G wrote:


Hi all,

   this may have been asked a while back - what would cause the Axis 
engine to generate
WSDLs that carry types instead of wsdl:types: This causes the WSDL 
parser I use

to throw:

[java] WSDLException (at /wsdl:definitions/types): 
faultCode=INVALID_WSDL:
Encountered illegal extension element 'types' in the context of a 
'javax.wsdl.Definition'.

Extension elements must be in a namespace other than WSDL's.:

Using Axis 1.4 over java 1.5.

Any ideas?

Thanks



Re: WSDL gen error

2009-07-08 Thread Demetris G


I am still stuck on this one - any hints would be greatly appreciated.

Thanks again

Demetris G wrote:


And a follow up -

same Axis engine (running in exactly same OSGi containers, same 
services, on one
Linux machine it generates the WSDL file with types and the other 
with wsdl:types !

Why is that the case? This is a bit puzzling.

Thanks very much in advance

Demetris G wrote:


Hi all,

   this may have been asked a while back - what would cause the Axis 
engine to generate
WSDLs that carry types instead of wsdl:types: This causes the 
WSDL parser I use

to throw:

[java] WSDLException (at /wsdl:definitions/types): 
faultCode=INVALID_WSDL:
Encountered illegal extension element 'types' in the context of a 
'javax.wsdl.Definition'.

Extension elements must be in a namespace other than WSDL's.:

Using Axis 1.4 over java 1.5.

Any ideas?

Thanks





Re: http commons exception

2009-07-02 Thread Demetris G


When I run this under J2SE on both the client and the server it works 
fine. So it does not seem
that this is due to incompatible versions between http and log4j - 
although the question I asked
earlier on how one can find which versions are compatible between these 
two projects is still
unanswered. This exception occurs when I run the server on mobile device 
supporting J2ME
with the CDC profile. Anyone had this issue before? Are there mobile 
versions of http and

log4j I can utilize or is the issue something else here?

Thanks again

Demetris G wrote:


Axis is running as a bundle in Knopflerfish OSGi - any idea why this code

line = http://127.0.0.1:8080/axis/services/remoteBooks?wsdl;
get = new GetMethod( line );
would cause this exception?? I have the log4j jars included as imports 
and in the

classpath. Or at least what does this mean? Thanks.

Sending [HTTP GET] to 
[http://127.0.0.1:8080/axis/services/remoteBooks?wsdl]

java.lang.ExceptionInInitializerError
   at java.lang.Class.runStaticInitializers(Unknown Source)
   at java.lang.Class.runStaticInitializers(Unknown Source)
   at DA.DiscoveryAgent$ServerConnection.run(Unknown Source)
   at java.lang.Thread.startup(Unknown Source)
Caused by: org.apache.commons.logging.LogConfigurationException: 
java.lang.NoSuchMethodError: org.apache.log4j.Priority: method 
init(ILjava/lang/String;I)V not found (Caused by 
java.lang.NoSuchMethodError: org.apache.log4j.Priority: method 
init(ILjava/lang/String;I)V not found)
   at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(Unknown 
Source)
   at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(Unknown 
Source)
   at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(Unknown 
Source)

   at org.apache.commons.logging.LogFactory.getLog(Unknown Source)
   at 
org.apache.commons.httpclient.HttpMethodBase.clinit(Unknown Source)

   ... 4 more
Caused by: java.lang.NoSuchMethodError: org.apache.log4j.Priority: 
method init(ILjava/lang/String;I)V not found

   at org.apache.log4j.Level.init(Unknown Source)
   at org.apache.log4j.Level.clinit(Unknown Source)
   at java.lang.Class.runStaticInitializers(Unknown Source)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Unknown Source)
   at org.apache.commons.logging.impl.Log4JLogger.class$(Unknown 
Source)
   at org.apache.commons.logging.impl.Log4JLogger.clinit(Unknown 
Source)

   at java.lang.Class.runStaticInitializers(Unknown Source)
   at java.lang.reflect.Constructor.newInstance(Unknown Source)
   ... 9 more


Thanks



http commons exception

2009-06-30 Thread Demetris G


Axis is running as a bundle in Knopflerfish OSGi - any idea why this code

line = http://127.0.0.1:8080/axis/services/remoteBooks?wsdl;
get = new GetMethod( line ); 

would cause this exception?? I have the log4j jars included as imports 
and in the

classpath. Or at least what does this mean? Thanks.

Sending [HTTP GET] to 
[http://127.0.0.1:8080/axis/services/remoteBooks?wsdl]

java.lang.ExceptionInInitializerError
   at java.lang.Class.runStaticInitializers(Unknown Source)
   at java.lang.Class.runStaticInitializers(Unknown Source)
   at DA.DiscoveryAgent$ServerConnection.run(Unknown Source)
   at java.lang.Thread.startup(Unknown Source)
Caused by: org.apache.commons.logging.LogConfigurationException: 
java.lang.NoSuchMethodError: org.apache.log4j.Priority: method 
init(ILjava/lang/String;I)V not found (Caused by 
java.lang.NoSuchMethodError: org.apache.log4j.Priority: method 
init(ILjava/lang/String;I)V not found)
   at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(Unknown Source)
   at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(Unknown Source)
   at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(Unknown Source)

   at org.apache.commons.logging.LogFactory.getLog(Unknown Source)
   at org.apache.commons.httpclient.HttpMethodBase.clinit(Unknown 
Source)

   ... 4 more
Caused by: java.lang.NoSuchMethodError: org.apache.log4j.Priority: 
method init(ILjava/lang/String;I)V not found

   at org.apache.log4j.Level.init(Unknown Source)
   at org.apache.log4j.Level.clinit(Unknown Source)
   at java.lang.Class.runStaticInitializers(Unknown Source)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Unknown Source)
   at org.apache.commons.logging.impl.Log4JLogger.class$(Unknown 
Source)
   at org.apache.commons.logging.impl.Log4JLogger.clinit(Unknown 
Source)

   at java.lang.Class.runStaticInitializers(Unknown Source)
   at java.lang.reflect.Constructor.newInstance(Unknown Source)
   ... 9 more


Thanks


Re: Axis WS on mobile devices

2009-06-29 Thread Demetris G


Thanks Dennis - I will give them a shot and see what I can use from 
them. I appreciate all the help so far.


Dennis Sosnoski wrote:

Hi Demetris,

kXML is the parser you'd use with JiBX for J2ME support. From what I 
know of kSOAP/kSOAP2 I suspect they'd be considerably lower 
performance than JiBX/WS, but if you're not anticipating a high 
message volume that shouldn't really matter. They'd probably also be 
more memory-intensive, though, and that might be more of an issue. 
Bottom line is probably that you should give them a try and see if 
they meet your needs.


And yes, JiBX is open source with a BSD-style license.

 - Dennis



Re: Axis WS on mobile devices

2009-06-25 Thread Demetris G


Hi Dennis,

   finally a good response - I appreciate it.

   I concur with you on the J2ME compatibility issues, in fact I did 
experience that first hand in
my current implementations. I am looking into JiBX now, I knew a few 
things about it but not
at the level that I can comfortably say that this could be a good 
solution for what I am after.
But from what you are saying below, this is a very promising direction 
and it would be good

to give it a shot. This is open-source code right?

Thanks

Dennis Sosnoski wrote:

Hi Demetris,

Part of the problem is that J2ME compatibility is not the easiest 
thing to determine - it's not like you can just set a compiler option 
and have any compatibility problems reported during the build.


JiBX used to work on mobile devices, though I think the J2ME 
compatibility for the runtime has been lost over the last year or two. 
If you'd like to give it a try, I'll look into fixing whatever needs 
to be changed (some uses of ArrayList and HashMap, from what I 
remember, along with some java.sql class references). You could then 
use the JiBX/WS web services support for your J2ME platform: 
http://jibx.sourceforge.net/jibxws/


JiBX/WS is significantly faster than Axis2 when used for plain text 
web services, and if we decided to implement XBIS and TCP/IP support 
for J2ME as well it'd be several times faster.


 - Dennis

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



Demetris G wrote:


Hi all,

   I asked this question before (twice) but I didn't get a single 
response, interestingly enough.
I am assuming by now that there is no mobile version of Axis/Axis2 
and all the stories I hear

about people getting Web services to work on mobiles is a fiction ...
   Has anyone managed to run Web Services (servers primarily) on 
mobile devices (either
CDC, CLDC, scripting, Web Runtime etc.)? I will appreciate any 
feedback on something

like this.

Thanks very much





Re: Axis WS on mobile devices

2009-06-25 Thread Demetris G


One more note - I was able to get Axis 1.4 to run on a CDC device using 
Jalimo and
Knopflerfish OSGi as the container but as expected it is fairly slow ... 
So yes, such

options are out of the question.

Dennis Sosnoski wrote:

Hi Demetris,

Part of the problem is that J2ME compatibility is not the easiest 
thing to determine - it's not like you can just set a compiler option 
and have any compatibility problems reported during the build.


JiBX used to work on mobile devices, though I think the J2ME 
compatibility for the runtime has been lost over the last year or two. 
If you'd like to give it a try, I'll look into fixing whatever needs 
to be changed (some uses of ArrayList and HashMap, from what I 
remember, along with some java.sql class references). You could then 
use the JiBX/WS web services support for your J2ME platform: 
http://jibx.sourceforge.net/jibxws/


JiBX/WS is significantly faster than Axis2 when used for plain text 
web services, and if we decided to implement XBIS and TCP/IP support 
for J2ME as well it'd be several times faster.


 - Dennis

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



Demetris G wrote:


Hi all,

   I asked this question before (twice) but I didn't get a single 
response, interestingly enough.
I am assuming by now that there is no mobile version of Axis/Axis2 
and all the stories I hear

about people getting Web services to work on mobiles is a fiction ...
   Has anyone managed to run Web Services (servers primarily) on 
mobile devices (either
CDC, CLDC, scripting, Web Runtime etc.)? I will appreciate any 
feedback on something

like this.

Thanks very much





Re: Axis WS on mobile devices

2009-06-25 Thread Demetris G


Dennis - sorry for the multiple postings - do you have any experience 
with kSOAP/kSOAP2 and
do you think that could also be a viable solution for hosting WS on J2ME 
devices?


Thanks

Dennis Sosnoski wrote:

Hi Demetris,

Part of the problem is that J2ME compatibility is not the easiest 
thing to determine - it's not like you can just set a compiler option 
and have any compatibility problems reported during the build.


JiBX used to work on mobile devices, though I think the J2ME 
compatibility for the runtime has been lost over the last year or two. 
If you'd like to give it a try, I'll look into fixing whatever needs 
to be changed (some uses of ArrayList and HashMap, from what I 
remember, along with some java.sql class references). You could then 
use the JiBX/WS web services support for your J2ME platform: 
http://jibx.sourceforge.net/jibxws/


JiBX/WS is significantly faster than Axis2 when used for plain text 
web services, and if we decided to implement XBIS and TCP/IP support 
for J2ME as well it'd be several times faster.


 - Dennis

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



Demetris G wrote:


Hi all,

   I asked this question before (twice) but I didn't get a single 
response, interestingly enough.
I am assuming by now that there is no mobile version of Axis/Axis2 
and all the stories I hear

about people getting Web services to work on mobiles is a fiction ...
   Has anyone managed to run Web Services (servers primarily) on 
mobile devices (either
CDC, CLDC, scripting, Web Runtime etc.)? I will appreciate any 
feedback on something

like this.

Thanks very much





Axis WS on mobile devices

2009-06-24 Thread Demetris G


Hi all,

   I asked this question before (twice) but I didn't get a single 
response, interestingly enough.
I am assuming by now that there is no mobile version of Axis/Axis2 and 
all the stories I hear

about people getting Web services to work on mobiles is a fiction ...
   Has anyone managed to run Web Services (servers primarily) on mobile 
devices (either
CDC, CLDC, scripting, Web Runtime etc.)? I will appreciate any feedback 
on something

like this.

Thanks very much



Re: Axis1.x / Axis2 / WSDL for J2ME

2009-06-10 Thread Demetris G


No luck still - is it possible that no one using Axis or any SOAP-engine 
implementation
is involved with mobility? If yes let me know and I will sell my idea 
for millions - he he

But I doubt I have anything new.

Seriously, can at least anyone involved in the development of Axis and 
its products tell
me with even a simple yes or a no, is there a lightweight implementation 
of Axis that
can run on mobile devices (CDC, CLDC) or any other such technology. I 
have been
searching around for a while and nothing much other than a 2006 proposal 
for mobile
Axis came about so before I get into implementing something on my own it 
would

be good to avoid re-inventing the wheel

Thanks very much for your help

Demetris G wrote:


Trying again hoping to get some kind of hope for mobile Axis. No one 
has ever
used SOAP implementations on mobile devices? Before I jump into k-this 
and
k-that I wanted to make sure I am not missing a mobile implementation 
of the

Axis engines.

Thanks again
Demetris

Demetris G wrote:


Hi all,

   I have been using Axis and Axis2 for my apps but now as we are 
migrating our software architecture
to mobile devices (primarily CDC-based) we scrabbling to figure out 
the migration of Axis engines

and WSDL parsers.

   Is kSOAP2 the best we can do for using Axis engines on mobile 
devices? And where can we find
WSDL parsers for such environments? Any hints or info on this would 
be greatly appreciated.


Thanks very much
Demetris






Re: Axis1.x / Axis2 / WSDL for J2ME

2009-06-07 Thread Demetris G


Trying again hoping to get some kind of hope for mobile Axis. No one has 
ever

used SOAP implementations on mobile devices? Before I jump into k-this and
k-that I wanted to make sure I am not missing a mobile implementation of the
Axis engines.

Thanks again
Demetris

Demetris G wrote:


Hi all,

   I have been using Axis and Axis2 for my apps but now as we are 
migrating our software architecture
to mobile devices (primarily CDC-based) we scrabbling to figure out 
the migration of Axis engines

and WSDL parsers.

   Is kSOAP2 the best we can do for using Axis engines on mobile 
devices? And where can we find
WSDL parsers for such environments? Any hints or info on this would be 
greatly appreciated.


Thanks very much
Demetris




Axis1.x / Axis2 / WSDL for J2ME

2009-06-04 Thread Demetris G


Hi all,

   I have been using Axis and Axis2 for my apps but now as we are 
migrating our software architecture
to mobile devices (primarily CDC-based) we scrabbling to figure out the 
migration of Axis engines

and WSDL parsers.

   Is kSOAP2 the best we can do for using Axis engines on mobile 
devices? And where can we find
WSDL parsers for such environments? Any hints or info on this would be 
greatly appreciated.


Thanks very much
Demetris



unsubscribe

2009-01-21 Thread Demetris G

unsubscribe


Re: unsubscribe

2009-01-21 Thread Demetris G

Oops - sorry - testing something.


Re: OSGi and Web Services

2008-12-31 Thread Demetris G


Excellent - thanks Azeez for the good information. I will check all this 
out and post any further

questions I may have.

Afkham Azeez wrote:
With WSO2 Carbon [1], which is powered by Apache Axis2, you can deploy 
OSGi bundles as Web services. However, with the current 
implementation, in the META-INF directory of the bundle, you need to 
include the Axis2 services.xml file. This is how the administration 
Web services in Carbon are deployed.


We are in the process of writing service listeners which listen for 
certain OSGi service properties. e.g. if your OSGi bundle contains a 
JAXWS service, the Axis2 JAXWS deployer needs to be called. So in your 
JAXWS service bundle, you will need to register an OSGi service with a 
special property, say serviceType=jaxws. The OSGi service listener 
will call the relevant deployers. This feature will be available next 
week.


In the mean time, you could check out the WSO2 WSAS 3.0-beta release 
[2] which is based on the WSO2 Carbon framework. You can drop your 
OSGi Web services bundles into the 
$CARBON_HOME/webapps/ROOT/WEB-INF/plugins directory.


To run Carbon with the OSGi console enabled, 
$CARBON_HOME/bin/wso2server.sh -DosgiConsole


Thanks
Azeez

1. http://wso2.org/projects/carbon
2. http://wso2.org/projects/wsas/java

On Wed, Dec 31, 2008 at 12:49 PM, Demetris G demet...@ece.neu.edu 
mailto:demet...@ece.neu.edu wrote:



Hi all,

what is the current state of OSGi and Web Services? I remember
back in May
there were some emails flying around regarding this but I have not
seen an update
ever since. I will appreciate any more info on it.

Thanks and good wishes for the New Year




--
Thanks
Afkham Azeez

Blog: http://afkham.org
Developer Portal: http://www.wso2.org
WSAS Blog: http://wso2wsas.blogspot.com
Company: http://wso2.com
GPG Fingerprint: 643F C2AF EB78 F886 40C9  B2A2 4AE2 C887 665E 0760


OSGi and Web Services

2008-12-30 Thread Demetris G


Hi all,

what is the current state of OSGi and Web Services? I remember back in May
there were some emails flying around regarding this but I have not seen 
an update

ever since. I will appreciate any more info on it.

Thanks and good wishes for the New Year



OSGi and Axis2

2008-10-04 Thread Demetris G


Hi Srinivas,

   what is the latest on Axis2 as OSGi bundle for exposing web services?

Thanks very much


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



Re: Semantics

2008-10-04 Thread Demetris G


Or put in a different way - is the only way to ask for a WSDL from an 
Axis / Axis2
engine to use a URL with the web service name appended to it? Is there 
anyone
work or anything done on using semantic matching in Axis itself or 
should a separate

tool be used?

Thanks much

Demetris G wrote:


Hi all,

   is there an automated tool you know of that can semantically query
Axis engines for services?

Thanks


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




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



Re: Semantics

2008-10-04 Thread Demetris G


Hi Keith,

   that's awesome. So you are saying that the admin service of WSAS 
allows you to query services
semantically? I guess you have answered my question, I will need to 
write a service to mediate such

a procedure. Makes sense.

Thanks

keith chapman wrote:
You could easily write a service (Sort of a admin service) that can be 
used to query details on services deployed. We do this in WSO2 WSAS 
(Web Services Application Server). http://wso2.org/projects/wsas


Thanks,
Keith.

[1] http://wso2.org/projects/wsas

On Sat, Oct 4, 2008 at 11:36 AM, Demetris G [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:



Or put in a different way - is the only way to ask for a WSDL from
an Axis / Axis2
engine to use a URL with the web service name appended to it? Is
there anyone
work or anything done on using semantic matching in Axis itself or
should a separate
tool be used?

Thanks much

Demetris G wrote:


Hi all,

  is there an automated tool you know of that can semantically
query
Axis engines for services?

Thanks


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



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




--
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org


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



Re: Semantics

2008-10-04 Thread Demetris G


Keith,

   one more Q - where are the service semantic descriptions stored on 
the side of the services container?
I am assuming that is what happens - the query arrives at the server, 
the query service handles/matches the

request, and sends back the WSDL of the deployed service.
I know how the OWL-S/UDDI combination works so I am wondering if this is 
a similar concept?


Thanks again

keith chapman wrote:
You could easily write a service (Sort of a admin service) that can be 
used to query details on services deployed. We do this in WSO2 WSAS 
(Web Services Application Server). http://wso2.org/projects/wsas


Thanks,
Keith.

[1] http://wso2.org/projects/wsas

On Sat, Oct 4, 2008 at 11:36 AM, Demetris G [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:



Or put in a different way - is the only way to ask for a WSDL from
an Axis / Axis2
engine to use a URL with the web service name appended to it? Is
there anyone
work or anything done on using semantic matching in Axis itself or
should a separate
tool be used?

Thanks much

Demetris G wrote:


Hi all,

  is there an automated tool you know of that can semantically
query
Axis engines for services?

Thanks


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



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




--
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org


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



Semantic

2008-10-02 Thread Demetris G


Hi all,

   is there an automated tool you know of that can semantically query
Axis engines for services?

Thanks


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



Re: Accessing web services throug proxy

2008-07-24 Thread Demetris G


Hmmm ... interesting - I wonder why turning off chunked transfer 
encoding would

enable proxy-access of remote web services. Your errors seemed to have been
authentication related. Well, if it works it works - thanks for letting 
us know man.


Coppens Benoît (All4IT) wrote:


Dear all,
I found the solution: you just need to disable chunked transfer encoding:
_serviceClient.getOptions().setProperty(HTTPConstants.CHUNKED,false);
Rgds,
Benoit

Legal Notice: This electronic mail and its attachments are intended 
solely for the person(s) to whom they are addressed and contain 
information which is confidential or otherwise protected from 
disclosure, except for the purpose for which they are intended. 
Dissemination, distribution, or reproduction by anyone other than the 
intended recipients is prohibited and may be illegal. If you are not 
an intended recipient, please immediately inform the sender and return 
the electronic mail and its attachments and destroy any copies which 
may be in your possession. UCB screens electronic mails for viruses 
but does not warrant that this electronic mail is free of any viruses. 
UCB accepts no liability for any damage caused by any virus 
transmitted by this electronic mail. (Ref: #*UG1107)




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



Re: Axis2 and OSGi

2008-05-05 Thread Demetris G


Hey Dims,

just checking again once again regarding the Axis2 - OSGi work. I found out
that Knopflerfish has a bundle they call Axis2 ( based on Axis 2 1.3) that
runs inside OSGi. Do you know anything about that ? I will give it a 
shot and

see if it works.

Thanks

Davanum Srinivas wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Unfortunately no. Sidetracked with trying to get 1.4 release out.

thanks,
dims

Demetris G wrote:
|
| Hi Dims,
|
|any progress on this? Just curious :)
|
| Thanks
|
|
| Hi Demetris,
|
| Dims has kicked off an effort to create an Axis2 OSGi bundle. He
| posted to the axis-dev list last week [1].
|
| [1] http://marc.info/?l=axis-devm=120308686726732w=2
|
| Lawrence
|
|
|
|
|
| Demetris G [EMAIL PROTECTED] 02/28/2008 11:02 PM
| Please respond to
| axis-user@ws.apache.org
|
|
| To
| axis-user@ws.apache.org
| cc
|
| Subject
| Axis2 and OSGi
|
|
|
|
|
|
|
| Hi all,
|
| has anyone tried to execute Axis2 in the OSGi containers? I know
| Axis1.x was imported as a bundle in OSGi but no idea about Axis2.
| I am wondering if it can be deployed in a similar manner as in Tomcat
| although I think it may still need an Activator to control the rest
| of its
| implementation.
|
| Thanks
|
|
| -
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
|
|
|
| -
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
|
|
|
| -
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
|
|
| -
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)

iD8DBQFH4vECgNg6eWEDv1kRAkLKAJ4yNGbYYXMJPp768fPYN7OiDWInHACgqHOQ
PA1nePEN2zTDBtACaif0mZM=
=0yob
-END PGP SIGNATURE-

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




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



Memory footprints

2008-04-16 Thread Demetris G


Hi guys,

   I may have asked this one before a while back. Has anyone does a 
memory footprint

analysis of Axis1 and Axis2? .

Thanks in advance
Demetris


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



Re: Axis vs. Axis2 web services

2008-04-11 Thread Demetris G


Hi Pantvaidra,

   beyond specific questions, did you find any general guidelines (in 
conjuction with what the
web site for Axis2 depicts) that people can follow and which you can 
share with everyone?

Any particular experiences or caution you can post? That would be super.

Many regards

Pantvaidya, Vishwajit wrote:

--

I recently completed a migration of our Axis1 based web services to 
Axis2 1.3. If you have any specific questions, I can try to answer them.


 




*From:* Patel, Trupti [mailto:[EMAIL PROTECTED]
*Sent:* Thursday, April 10, 2008 6:58 AM
*To:* axis-user@ws.apache.org
*Subject:* RE: Axis vs. Axis2 web services

 

Does anyone have any experience with migrating Apache Axis apps to 
Axis2?  We are currently running Axis1 and would like to upgrade to 
Axis2.   Also, does anyone have any instructions on how to run a web 
service in which the client is running Axis2 and the server end is 
running Axis1. 


Any tips or thoughts would be very much appreciated.

Thanks,
Trupti

 



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



Re: Axis2 and OSGi

2008-03-20 Thread Demetris G


Hi Dims,

   any progress on this? Just curious :)

Thanks




Hi Demetris,

Dims has kicked off an effort to create an Axis2 OSGi bundle. He 
posted to the axis-dev list last week [1].


[1] http://marc.info/?l=axis-devm=120308686726732w=2

Lawrence





Demetris G [EMAIL PROTECTED] 02/28/2008 11:02 PM
Please respond to
axis-user@ws.apache.org


To
axis-user@ws.apache.org
cc

Subject
Axis2 and OSGi







Hi all,

has anyone tried to execute Axis2 in the OSGi containers? I know
Axis1.x was imported as a bundle in OSGi but no idea about Axis2.
I am wondering if it can be deployed in a similar manner as in Tomcat
although I think it may still need an Activator to control the rest 
of its

implementation.

Thanks

 
-

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




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


  


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




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



Axis and constrained devices

2008-03-20 Thread Demetris G


Hi all,

   not sure if this was asked before but have people tried running Axis 
(1.x or 2) on

constrained (mobile) devices? Is kSOAP2 what I am should looking into?

Thanks much


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



Re: Axis2 and OSGi

2008-03-20 Thread Demetris G


No problem - 1.4 is a priority - good luck and we can talk about this
again later on. Thanks Dims.

Davanum Srinivas wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Unfortunately no. Sidetracked with trying to get 1.4 release out.

thanks,
dims

Demetris G wrote:
|
| Hi Dims,
|
|any progress on this? Just curious :)
|
| Thanks
|
|
| Hi Demetris,
|
| Dims has kicked off an effort to create an Axis2 OSGi bundle. He
| posted to the axis-dev list last week [1].
|
| [1] http://marc.info/?l=axis-devm=120308686726732w=2
|
| Lawrence
|
|
|
|
|
| Demetris G [EMAIL PROTECTED] 02/28/2008 11:02 PM
| Please respond to
| axis-user@ws.apache.org
|
|
| To
| axis-user@ws.apache.org
| cc
|
| Subject
| Axis2 and OSGi
|
|
|
|
|
|
|
| Hi all,
|
| has anyone tried to execute Axis2 in the OSGi containers? I know
| Axis1.x was imported as a bundle in OSGi but no idea about Axis2.
| I am wondering if it can be deployed in a similar manner as in Tomcat
| although I think it may still need an Activator to control the rest
| of its
| implementation.
|
| Thanks
|
|
| -
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
|
|
|
| -
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
|
|
|
| -
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
|
|
| -
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)

iD8DBQFH4vECgNg6eWEDv1kRAkLKAJ4yNGbYYXMJPp768fPYN7OiDWInHACgqHOQ
PA1nePEN2zTDBtACaif0mZM=
=0yob
-END PGP SIGNATURE-

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




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



Re: Axis and constrained devices

2008-03-20 Thread Demetris G


I will try that - thanks much Keith.

keith chapman wrote:
May be you could try Axis2-c. Also you may get a better response for 
this question if u posted it to axis2-c list.


Thanks,
Keith

On Fri, Mar 21, 2008 at 1:22 AM, Demetris G [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:



Hi all,

   not sure if this was asked before but have people tried running
Axis
(1.x or 2) on
constrained (mobile) devices? Is kSOAP2 what I am should looking into?

Thanks much


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




--
Keith Chapman
Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org 


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



Re: Axis2 and OSGi

2008-03-05 Thread Demetris G


Hi Dims,

   how is this work progressing? It seems to be a pretty good potential 
for both sides if
accomplished as it seems that OSGi is becoming pretty popular in 
residential gateways.


Thanks

Lawrence Mandel wrote:

Hi Demetris,

Dims has kicked off an effort to create an Axis2 OSGi bundle. He posted to 
the axis-dev list last week [1].


[1] http://marc.info/?l=axis-devm=120308686726732w=2

Lawrence





Demetris G [EMAIL PROTECTED] 
02/28/2008 11:02 PM

Please respond to
axis-user@ws.apache.org


To
axis-user@ws.apache.org
cc

Subject
Axis2 and OSGi







Hi all,

has anyone tried to execute Axis2 in the OSGi containers? I know
Axis1.x was imported as a bundle in OSGi but no idea about Axis2.
I am wondering if it can be deployed in a similar manner as in Tomcat
although I think it may still need an Activator to control the rest of its
implementation.

Thanks

  


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




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


  


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



Re: Axis2 and OSGi

2008-03-05 Thread Demetris G


Hi Dims,

   I will try to help if I can but for a bit I am a bit tied up with a 
deadline. I worked
with the Axis 1.4 import from Knopflerfish OSGi and it has been working 
pretty good.
I am sure you guys know about that but in case you don't you can take a 
look at their
import if it will help at all. I know Axis2 is a different beast to 
import but at least on

the OSGi side I am sure they are commonalities ...

Thanks much

Davanum Srinivas wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Demetris,

Got to the point where we can listen to bundles, scan them looking for 
classes with jaxws annotations and deploy them as

a web service.

Next up, deploying axis2 modules the same way. Need to figure out how 
to break things into smaller bundles as well.


After that, look at Eclipse Corona, Apache Muse and figure out a new 
declarative service for programatically allowing

folks to register services at specific contexts.

Please feel free to jump in anytime with suggestions, patches would be 
infinitely better :)


- -- dims

Demetris G wrote:
|
| Hi Dims,
|
|how is this work progressing? It seems to be a pretty good potential
| for both sides if
| accomplished as it seems that OSGi is becoming pretty popular in
| residential gateways.
|
| Thanks
|
| Lawrence Mandel wrote:
| Hi Demetris,
|
| Dims has kicked off an effort to create an Axis2 OSGi bundle. He
| posted to the axis-dev list last week [1].
|
| [1] http://marc.info/?l=axis-devm=120308686726732w=2
|
| Lawrence
|
|
|
|
|
| Demetris G [EMAIL PROTECTED] 02/28/2008 11:02 PM
| Please respond to
| axis-user@ws.apache.org
|
|
| To
| axis-user@ws.apache.org
| cc
|
| Subject
| Axis2 and OSGi
|
|
|
|
|
|
|
| Hi all,
|
| has anyone tried to execute Axis2 in the OSGi containers? I know
| Axis1.x was imported as a bundle in OSGi but no idea about Axis2.
| I am wondering if it can be deployed in a similar manner as in Tomcat
| although I think it may still need an Activator to control the rest of
| its
| implementation.
|
| Thanks
|
|
| -
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
|
|
|
| -
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
|
|
|
| -
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)

iD8DBQFHzxh2gNg6eWEDv1kRAisKAJ95Iil0TPiE9KUIL9xmzt3+W7QDOACaAuII
s5zyfSk8eT8CQW+j152piTc=
=u5Kf
-END PGP SIGNATURE-

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




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



Re: Axis2 and OSGi

2008-03-05 Thread Demetris G


This is the routine they use for registering the object:

private ServiceReference registerObject(String name, Object obj) {
   Hashtable ht = new Hashtable();

   ht.put(SOAP.service.name, name);
   return (context.registerService(obj.getClass().getName(), obj, 
ht)).getReference();

   }


and the calling code for a service calls remoteBooks ...

   this.context = context;  
   sh = registerObject(remoteBooks, new BooksImpl(context));
   if ( context.registerService(Books.class.getName(), new 
BooksImpl(context), props) != null ) {
   System.out.println(Service [+Books.class.getName()+] 
registered ... );   
   } else {
   System.out.println(*** Registering service with name 
[+Books.class.getName()+] failed *** );

   }



Here is the web site for this work:
https://www.knopflerfish.org/svn/knopflerfish.org/trunk/osgi/bundles_opt/soap/readme.html

---
On a separate note - is the work for Axis2 for mobile/constrained 
devices still in progress ; do you

have any additional information on this?

Thanks much


Davanum Srinivas wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Demetris,

Is this how they do it? register a service and set SOAP.service.name?

http://leobard.twoday.net/stories/2790802/

thanks,
dims

Demetris G wrote:
|
| Hi Dims,
|
|I will try to help if I can but for a bit I am a bit tied up with a
| deadline. I worked
| with the Axis 1.4 import from Knopflerfish OSGi and it has been working
| pretty good.
| I am sure you guys know about that but in case you don't you can take a
| look at their
| import if it will help at all. I know Axis2 is a different beast to
| import but at least on
| the OSGi side I am sure they are commonalities ...
|
| Thanks much
|
| Davanum Srinivas wrote:
| Demetris,
|
| Got to the point where we can listen to bundles, scan them looking for
| classes with jaxws annotations and deploy them as
| a web service.
|
| Next up, deploying axis2 modules the same way. Need to figure out how
| to break things into smaller bundles as well.
|
| After that, look at Eclipse Corona, Apache Muse and figure out a new
| declarative service for programatically allowing
| folks to register services at specific contexts.
|
| Please feel free to jump in anytime with suggestions, patches would be
| infinitely better :)
|
| -- dims
|
| Demetris G wrote:
| |
| | Hi Dims,
| |
| |how is this work progressing? It seems to be a pretty good 
potential

| | for both sides if
| | accomplished as it seems that OSGi is becoming pretty popular in
| | residential gateways.
| |
| | Thanks
| |
| | Lawrence Mandel wrote:
| | Hi Demetris,
| |
| | Dims has kicked off an effort to create an Axis2 OSGi bundle. He
| | posted to the axis-dev list last week [1].
| |
| | [1] http://marc.info/?l=axis-devm=120308686726732w=2
| |
| | Lawrence
| |
| |
| |
| |
| |
| | Demetris G [EMAIL PROTECTED] 02/28/2008 11:02 PM
| | Please respond to
| | axis-user@ws.apache.org
| |
| |
| | To
| | axis-user@ws.apache.org
| | cc
| |
| | Subject
| | Axis2 and OSGi
| |
| |
| |
| |
| |
| |
| |
| | Hi all,
| |
| | has anyone tried to execute Axis2 in the OSGi containers? I know
| | Axis1.x was imported as a bundle in OSGi but no idea about Axis2.
| | I am wondering if it can be deployed in a similar manner as in 
Tomcat
| | although I think it may still need an Activator to control the 
rest of

| | its
| | implementation.
| |
| | Thanks
| |
| |
| | 
-

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

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

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

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)

iD8DBQFHz3BAgNg6eWEDv1kRAqs7AKDZXBnqyKuwKYX17XrWW9nbgvhXvACg++zF
YF8JATwkcLjz23O8Ww4CEqE=
=snfy
-END PGP SIGNATURE-

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




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



Axis2 and OSGi

2008-02-28 Thread Demetris G


Hi all,

   has anyone tried to execute Axis2 in the OSGi containers? I know
Axis1.x was imported as a bundle in OSGi but no idea about Axis2.
I am wondering if it can be deployed in a similar manner as in Tomcat
although I think it may still need an Activator to control the rest of its
implementation.

Thanks





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




Re: Axis2 and OSGi

2008-02-28 Thread Demetris G


Awesome - thanks Lawrence. I haven't checked the dev-list in a while due
to the volume of postings there. I will check this out.

Lawrence Mandel wrote:

Hi Demetris,

Dims has kicked off an effort to create an Axis2 OSGi bundle. He posted to 
the axis-dev list last week [1].


[1] http://marc.info/?l=axis-devm=120308686726732w=2

Lawrence





Demetris G [EMAIL PROTECTED] 
02/28/2008 11:02 PM

Please respond to
axis-user@ws.apache.org


To
axis-user@ws.apache.org
cc

Subject
Axis2 and OSGi







Hi all,

has anyone tried to execute Axis2 in the OSGi containers? I know
Axis1.x was imported as a bundle in OSGi but no idea about Axis2.
I am wondering if it can be deployed in a similar manner as in Tomcat
although I think it may still need an Activator to control the rest of its
implementation.

Thanks

  


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




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


  


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



Re: WSDL parser

2008-02-21 Thread Demetris G


Hi all,

   does anyone know of a piece of code similar to the one below that 
can read/parse  a local WSDL file

serialized in a string rather than a remote WSDL given by a URI?

Thanks

Sukma Agung Verdianto wrote:

Hi Demetris,

You can try to use wsdl4j (http://sourceforge.net/projects/wsdl4j) to 
get the operations of specified wsdl file. (AFAIK, Axis2 uses this in 
their wsdl2java code)


public static void main(String[] args) throws Exception {

WSDLFactory fac = WSDLFactoryImpl.newInstance();

WSDLReader reader = fac.newWSDLReader();

Definition def = 
reader.readWSDL(http://api.google.com/GoogleSearch.wsdl;);


Map services = def.getServices();

for(Object serviceKey : services.keySet()) {

QName serviceQName = (QName) serviceKey;

Service service = (Service) services.get(serviceQName);

System.out.println(Namespace:  + 
service.getQName().getNamespaceURI() + , Service Name:  + 
service.getQName().getLocalPart());


Map ports = service.getPorts();

for(Object portKey : ports.keySet()) {

String portName = (String) portKey;

Port port = (Port) ports.get(portName);

System.out.println(  Namespace:  + 
port.getBinding().getQName().getNamespaceURI() + , Binding Name:  + 
port.getBinding().getQName().getLocalPart());


List operations = port.getBinding().getBindingOperations();

for(Object operation : operations) {

BindingOperation op = (BindingOperation) operation;

System.out.print(Operation Name:  + op.getName());

List ll = op.getExtensibilityElements();

for(Object soap : ll) {

if(SOAPOperation.class.isInstance(soap)) {

System.out.print( ( + ((SOAPOperation)soap).getSoapActionURI() + ));

}

}

System.out.println();

}

}

}

}


Above code read remote wsdl, and extract its information.

Regards,
Sukma

On Feb 17, 2008 2:09 PM, Demetris G [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:



Hi all,

   I am trying to use the wsdlParser from the Axis API to parse
the methods
out of an incoming WSDL file - does anyone who has used this
before have
any info on how to use this tool? OR any other way I could get the
operations
of the remote service out of the WSDL file? I would appreciate it.

Thanks


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




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



Re: WSDL parser

2008-02-21 Thread Demetris G


Hey Sukma,

   thanks for the response - I oringally went with the second option 
but I was getting an exception
on the StringReader. I think I know what the problem is - at least you 
verified for me that I am on

the right path. I appreciate it.

Many regards once again

Sukma Agung Verdianto wrote:

Hi Demetris,

To read a local file you could simply use 
file:///path/to/wsdl/file.wsdl as readWSDL argument 
- reader.readWSDL(file:///path/to/your/wsdl);,
Or if you have a WSDL serialized in String, you could 
use reader.readWSDL(null, new InputSource(new StringReader(wsdlString)));


Regards,
Sukma

On Fri, Feb 22, 2008 at 1:22 PM, Demetris G [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:



Hi all,

   does anyone know of a piece of code similar to the one below that
can read/parse  a local WSDL file
serialized in a string rather than a remote WSDL given by a URI?

Thanks

Sukma Agung Verdianto wrote:
 Hi Demetris,

 You can try to use wsdl4j
(http://sourceforge.net/projects/wsdl4j) to
 get the operations of specified wsdl file. (AFAIK, Axis2 uses
this in
 their wsdl2java code)

 public static void main(String[] args) throws Exception {

 WSDLFactory fac = WSDLFactoryImpl.newInstance();

 WSDLReader reader = fac.newWSDLReader();

 Definition def =
 reader.readWSDL(http://api.google.com/GoogleSearch.wsdl;);

 Map services = def.getServices();

 for(Object serviceKey : services.keySet()) {

 QName serviceQName = (QName) serviceKey;

 Service service = (Service) services.get(serviceQName);

 System.out.println(Namespace:  +
 service.getQName().getNamespaceURI() + , Service Name:  +
 service.getQName().getLocalPart());

 Map ports = service.getPorts();

 for(Object portKey : ports.keySet()) {

 String portName = (String) portKey;

 Port port = (Port) ports.get(portName);

 System.out.println(  Namespace:  +
 port.getBinding().getQName().getNamespaceURI() + , Binding
Name:  +
 port.getBinding().getQName().getLocalPart());

 List operations = port.getBinding().getBindingOperations();

 for(Object operation : operations) {

 BindingOperation op = (BindingOperation) operation;

 System.out.print(Operation Name:  + op.getName());

 List ll = op.getExtensibilityElements();

 for(Object soap : ll) {

 if(SOAPOperation.class.isInstance(soap)) {

 System.out.print( ( + ((SOAPOperation)soap).getSoapActionURI()
+ ));

 }

 }

 System.out.println();

 }

 }

 }

 }


 Above code read remote wsdl, and extract its information.

 Regards,
 Sukma

 On Feb 17, 2008 2:09 PM, Demetris G [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:


 Hi all,

I am trying to use the wsdlParser from the Axis API to parse
 the methods
 out of an incoming WSDL file - does anyone who has used this
 before have
 any info on how to use this tool? OR any other way I could
get the
 operations
 of the remote service out of the WSDL file? I would
appreciate it.

 Thanks



-

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



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




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



Re: WSDL parser

2008-02-18 Thread Demetris G


Hey Sukma,

   the code below worked fine - I can get the operations out of the 
WSDL. Is there
a similar parser for identifying and extracting the methods out of 
outgoing (from the

stubs) SOAP messages? I capture the SOAP message and I can parse it manually
but is there a standard way (like the code below) for identifying the 
methods the

SOAP message is destined to?

Thanks much once again

Sukma Agung Verdianto wrote:

Hi Demetris,

You can try to use wsdl4j (http://sourceforge.net/projects/wsdl4j) to 
get the operations of specified wsdl file. (AFAIK, Axis2 uses this in 
their wsdl2java code)


public static void main(String[] args) throws Exception {

WSDLFactory fac = WSDLFactoryImpl.newInstance();

WSDLReader reader = fac.newWSDLReader();

Definition def = 
reader.readWSDL(http://api.google.com/GoogleSearch.wsdl;);


Map services = def.getServices();

for(Object serviceKey : services.keySet()) {

QName serviceQName = (QName) serviceKey;

Service service = (Service) services.get(serviceQName);

System.out.println(Namespace:  + 
service.getQName().getNamespaceURI() + , Service Name:  + 
service.getQName().getLocalPart());


Map ports = service.getPorts();

for(Object portKey : ports.keySet()) {

String portName = (String) portKey;

Port port = (Port) ports.get(portName);

System.out.println(  Namespace:  + 
port.getBinding().getQName().getNamespaceURI() + , Binding Name:  + 
port.getBinding().getQName().getLocalPart());


List operations = port.getBinding().getBindingOperations();

for(Object operation : operations) {

BindingOperation op = (BindingOperation) operation;

System.out.print(Operation Name:  + op.getName());

List ll = op.getExtensibilityElements();

for(Object soap : ll) {

if(SOAPOperation.class.isInstance(soap)) {

System.out.print( ( + ((SOAPOperation)soap).getSoapActionURI() + ));

}

}

System.out.println();

}

}

}

}


Above code read remote wsdl, and extract its information.

Regards,
Sukma

On Feb 17, 2008 2:09 PM, Demetris G [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:



Hi all,

   I am trying to use the wsdlParser from the Axis API to parse
the methods
out of an incoming WSDL file - does anyone who has used this
before have
any info on how to use this tool? OR any other way I could get the
operations
of the remote service out of the WSDL file? I would appreciate it.

Thanks


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




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



Re: WSDL parser

2008-02-18 Thread Demetris G


Hi Sukma -

once again thanks for the quick response - much appreciated -
I tried #1 but not #3. I am migrating to SOAP 1.2 so I will also
look into the second option you list. I will let the list know how that
one goes as well.

Regards

Sukma Agung Verdianto wrote:

Hi Demitris,

Sorry for this late response,
I'm not sure if there is a 'ready to use' parser to extract 
information out of SOAP message. But I guess Axis2 have it.


Extracting information from soap message is quite complex.
There are several ways to get those information (eg: operations, to, 
replyto):
1. If you use older SOAP version (1.1) and HTTP transport - operation 
name is defined as HTTP attribute (Could not remember the name, 
Action or Operation)
2. In SOAP (1.2) and HTTP transport there is also an extra HTTP 
attribute (not sure where, you can check by capturing using tcpmon)
3. This is more difficult, if your soap use WS_Addressing standard, 
you may read the SOAP header and look for wsa:Action element value.


Example of SOAP with WS-Addressing header. (see wsa:Action element)
   wsa:To 
xmlns:wsu=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd; 
soapenv:mustUnderstand=1 
wsu:Id=Id-13283276http://localhost:/axis2/services/CalculatorService?wsdl/wsa:To
 wsa:ReplyTo 
xmlns:wsu=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd; 
soapenv:mustUnderstand=1 wsu:Id=Id-14395294

wsa:Addresshttp://www.w3.org/2005/08/addressing/anonymous/wsa:Address
 /wsa:ReplyTo
 wsa:MessageID 
xmlns:wsu=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd; 
soapenv:mustUnderstand=1 
wsu:Id=Id-14264518urn:uuid:0E4DF98317F35D31DE1179281210189/wsa:MessageID
 wsa:Action 
xmlns:wsu=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd; 
soapenv:mustUnderstand=1 wsu:Id=Id-14123379urn:Divide/wsa:Action
  /soapenv:Header

I hope this will help. :)

Regards,
Sukma

On Feb 19, 2008 11:46 AM, Demetris G [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:



Hey Sukma,

   the code below worked fine - I can get the operations out of the
WSDL. Is there
a similar parser for identifying and extracting the methods out of
outgoing (from the
stubs) SOAP messages? I capture the SOAP message and I can parse
it manually
but is there a standard way (like the code below) for identifying the
methods the
SOAP message is destined to?

Thanks much once again

Sukma Agung Verdianto wrote:
 Hi Demetris,

 You can try to use wsdl4j
(http://sourceforge.net/projects/wsdl4j) to
 get the operations of specified wsdl file. (AFAIK, Axis2 uses
this in
 their wsdl2java code)

 public static void main(String[] args) throws Exception {

 WSDLFactory fac = WSDLFactoryImpl.newInstance();

 WSDLReader reader = fac.newWSDLReader();

 Definition def =
 reader.readWSDL(http://api.google.com/GoogleSearch.wsdl;);

 Map services = def.getServices();

 for(Object serviceKey : services.keySet()) {

 QName serviceQName = (QName) serviceKey;

 Service service = (Service) services.get(serviceQName);

 System.out.println(Namespace:  +
 service.getQName().getNamespaceURI() + , Service Name:  +
 service.getQName().getLocalPart());

 Map ports = service.getPorts();

 for(Object portKey : ports.keySet()) {

 String portName = (String) portKey;

 Port port = (Port) ports.get(portName);

 System.out.println(  Namespace:  +
 port.getBinding().getQName().getNamespaceURI() + , Binding
Name:  +
 port.getBinding().getQName().getLocalPart());

 List operations = port.getBinding().getBindingOperations();

 for(Object operation : operations) {

 BindingOperation op = (BindingOperation) operation;

 System.out.print(Operation Name:  + op.getName());

 List ll = op.getExtensibilityElements();

 for(Object soap : ll) {

 if(SOAPOperation.class.isInstance(soap)) {

 System.out.print( ( + ((SOAPOperation)soap).getSoapActionURI()
+ ));

 }

 }

 System.out.println();

 }

 }

 }

 }


 Above code read remote wsdl, and extract its information.

 Regards,
 Sukma

 On Feb 17, 2008 2:09 PM, Demetris G [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:


 Hi all,

I am trying to use the wsdlParser from the Axis API to parse
 the methods
 out of an incoming WSDL file - does anyone who has used this
 before have
 any info on how to use this tool? OR any other way I could
get the
 operations
 of the remote service out of the WSDL file? I would

Re: WSDL parser

2008-02-17 Thread Demetris G


Thanks Martin and Sukma - I will try the two methods you send me and see
how they work. I will share on the list the results on anything I find

Regards

Martin Gainty wrote:

$AXIS2_HOME/bin/wsdl2java -uri NameOfWsdl.wsdl

M-
- Original Message -
From: Demetris G [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Sunday, February 17, 2008 2:09 AM
Subject: WSDL parser


  

Hi all,

I am trying to use the wsdlParser from the Axis API to parse the


methods
  

out of an incoming WSDL file - does anyone who has used this before have
any info on how to use this tool? OR any other way I could get the
operations
of the remote service out of the WSDL file? I would appreciate it.

Thanks


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






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


  


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



WSDL parser

2008-02-16 Thread Demetris G


Hi all,

   I am trying to use the wsdlParser from the Axis API to parse the methods
out of an incoming WSDL file - does anyone who has used this before have
any info on how to use this tool? OR any other way I could get the 
operations

of the remote service out of the WSDL file? I would appreciate it.

Thanks


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



Memory foorprints

2008-02-06 Thread Demetris G


Hey all,

   I asked this one before but either no one knows or it is not a 
priority about

Axis's memory requirements. Does anyone know of a good analysis on the mem
footprints that Axis (1.X or 2) has?

Thanks


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



Re: Memory foorprints

2008-02-06 Thread Demetris G


Does anyone know which classes in Axis 1.4 are used to start Axis in 
standalone mode?
Axis 2 has the .bat and .sh scripts for this but Axis 1.4 does not so I 
will have to

start it manually ; AxisServer is the one?

Thanks much

Demetris G wrote:


Hey all,

   I asked this one before but either no one knows or it is not a 
priority about
Axis's memory requirements. Does anyone know of a good analysis on the 
mem

footprints that Axis (1.X or 2) has?

Thanks




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



HTTP POST

2008-02-01 Thread Demetris G


Hi all,

   is the default transport for Axis stubs (1.x and 2) RCP/Encoded over 
HTTP POST

or GET?

Thanks


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



WSDL2Java

2008-01-21 Thread Demetris G


Hi all,

   this used to work for me in automated scripts I built but now it is 
acting

a bit funny. I retrieve a WSDL file from a remote Axis server and then run
the WSDL2Java on it - the address tag is
   wsdlsoap:address 
location=http://129.20.72.186:8080/axis/services/remoteServ/


and the rest of the addresses in the file is 127.0.0.1 as expected. However
the WSDL2Java generates the stubs in 1/0/0/127 dirs instead of the 
186/72/20/129 ...

any ideas why ?

Thanks much

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



Jars needed

2008-01-17 Thread Demetris G


Anywhere on the Apache web site that we can download javax.activation 
and mail?


Thanks


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



Re: Jars needed

2008-01-17 Thread Demetris G


Got them - never mind .. thanks

Demetris G wrote:


Anywhere on the Apache web site that we can download javax.activation 
and mail?


Thanks


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




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



Re: [Axis2] Standalone

2007-12-23 Thread Demetris G


Excellent - thanks very much for this good info Paul.

Paul Fremantle wrote:

Demetris

Partly this is historical... Axis1 originally had a single-threaded
server built in for test purposes, which was not production ready.
The SimpleHTTPServer that is built into Axis2 is much more robust and
reasonable performant. In my understanding it is good enough for
production usage, though perhaps not for really hard-core heavy-duty
requirements. Its also very useful if you want to embed in an existing
application (public void main()).

However, Tomcat is definitely faster, so if performance is an issue,
I'd go for Tomcat. Also Tomcat has a lot more resources on scaling,
tuning, plus the native IO handlers etc.

There is a third option which is the NIO HTTP transport that
originated in Synapse. This is very efficient and scales to very large
numbers of concurrent connections (1000), and has been production
tested in the Synapse community with very good results.

Paul


On Dec 23, 2007 6:26 AM, Demetris G [EMAIL PROTECTED] wrote:
  

Hi all,

there was a discussion once whether Axis2 should be run standalone
for production software - or something of this nature. I know Axis2 can
be a web services container (standalone) and can also be executed from
within a servlet container. Can someone please shed some light on this
again? Was it the use of the HTTP server?

Thanks much



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







  


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



Re: [Axis2] SOAP over SIP

2007-12-22 Thread Demetris G


Echoing Paul's I didn't know anything about coding SIP in Java and further
seeing these terms flying around this list for a long time now, wouldn't 
be so
much nicer for the rest of us who are willing to learn, for whoever is 
asking

a Q out of the list to also spend 3.5 secs to write down a definition of the
term they are requesting help with? I hear POJO, MOJO, GOJO, blah blah
and MTOM and this and that and now SIP ... oh sure, everything is just
a google away but putting it in the context of the list educates all of 
us. Just

a friendly suggestion ...

SIP - away my friends ...


Paul Fremantle wrote:

Samir

Ok so I didn't know anything about coding SIP in Java :)

Basically, yes we need a reference impl of the SIPServlet spec
(assuming that it has a valid license), and we also need a client SIP
stack too.

It seems like this is what we need: https://jain-sip.dev.java.net/ tho
I can't find out what license that is under.

Also I found an interesting alternative to the SIP Servlet which is the JIPlet:
http://www.cafesip.org/projects/jiplet/index.html

However, I'm not sure its really worth using JIPlet over the SIP
servlet. What are your thoughts?

Paul

PS. In HTTP the equivalent is the servlet plus the Commons HTTPClient.
However, the newer non-blocking HTTP is based on an Apache library
called HTTPCore which provides a non-blocking IO version of HTTP.



On Dec 22, 2007 1:08 AM, samir shaikh [EMAIL PROTECTED] wrote:
  

Paul,

What do you mean by base SIP function? Do you mean we
need some reference implementation of the sipservlet
specification? can you tell me what it is for http so
then i can understand what we are looking for here.


Samir

--- Paul Fremantle [EMAIL PROTECTED] wrote:



Samir

The usual first step is to identify a library that
can be used to
provide the base SIP function. Also the library
needs to be compatible
with Apache Licensing - i.e. it must be Open Source
and also not GPL
(but LPGL is ok). Obviously if we can find one under
the Apache or BSD
license that is best.

Paul

On Dec 21, 2007 12:14 AM, samir shaikh
[EMAIL PROTECTED] wrote:
  

Paul,

I'll be happy to team up with you on this. If you
could lay out for me what is involved that will be
great. We could have something based off of the
sipservlet specification. Meanwhile, I can also
research the existing transports as part of


synapse.
  

Samir



--- Paul Fremantle [EMAIL PROTECTED] wrote:



Samir

We do not have a SIP transport for SOAP in
  

Axis2.
  

However, if you
would be willing to help write one we would be
  

very
  

happy to help.
From my knowledge of SIP it would make a good
transport and has some
benefits over HTTP. If you want to see how Axis2
transports are
written, you might actually start here:


  

http://svn.apache.org/repos/asf/webservices/synapse/trunk/java/modules/transports/src/main/java


We have written a few new transports for Axis2
  

under
  

the Synapse
project and there are some base classes to help
  

you.
  

Of course there are also the core Axis2
  

transports:
  

http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport


If you want to collaborate I will certainly
  

help.
  

Paul

On Dec 19, 2007 11:22 PM, samir shaikh
[EMAIL PROTECTED] wrote:
  

Hi,

I'm trying to get SIP to be the transport


layer
  

for my
  

Axis2 server. Does anyone know where I can


find
  

examples of that and if that is possible to


do.
  

Thank you.!

Samir








Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.  Try it now.


http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ





-


To unsubscribe, e-mail:


[EMAIL PROTECTED]
  

For additional commands, e-mail:


[EMAIL PROTECTED]
  



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

blog: http://pzf.fremantle.org
[EMAIL PROTECTED]

Oxygenating the Web Service Platform,
  

www.wso2.com
  
  

-


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


  








Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.  Try it now.


http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ





-


To unsubscribe, e-mail:


[EMAIL PROTECTED]
  


Re: [Axis2] SOAP over SIP

2007-12-22 Thread Demetris G


Likewise Paul - thanks for the pointer.

Paul Fremantle wrote:

Good point!

SIP is basically the standard for doing Voice Over Internet Protocol
(VOIP) that is used by systems like Vonage, Asterisk, etc to provide
phoning on the internet.

Merry Christmas and Happy New Year to everyone!

Paul

On Dec 22, 2007 8:29 AM, Demetris G [EMAIL PROTECTED] wrote:
  

Echoing Paul's I didn't know anything about coding SIP in Java and further
seeing these terms flying around this list for a long time now, wouldn't
be so
much nicer for the rest of us who are willing to learn, for whoever is
asking
a Q out of the list to also spend 3.5 secs to write down a definition of the
term they are requesting help with? I hear POJO, MOJO, GOJO, blah blah
and MTOM and this and that and now SIP ... oh sure, everything is just
a google away but putting it in the context of the list educates all of
us. Just
a friendly suggestion ...

SIP - away my friends ...



Paul Fremantle wrote:


Samir

Ok so I didn't know anything about coding SIP in Java :)

Basically, yes we need a reference impl of the SIPServlet spec
(assuming that it has a valid license), and we also need a client SIP
stack too.

It seems like this is what we need: https://jain-sip.dev.java.net/ tho
I can't find out what license that is under.

Also I found an interesting alternative to the SIP Servlet which is the JIPlet:
http://www.cafesip.org/projects/jiplet/index.html

However, I'm not sure its really worth using JIPlet over the SIP
servlet. What are your thoughts?

Paul

PS. In HTTP the equivalent is the servlet plus the Commons HTTPClient.
However, the newer non-blocking HTTP is based on an Apache library
called HTTPCore which provides a non-blocking IO version of HTTP.



On Dec 22, 2007 1:08 AM, samir shaikh [EMAIL PROTECTED] wrote:

  

Paul,

What do you mean by base SIP function? Do you mean we
need some reference implementation of the sipservlet
specification? can you tell me what it is for http so
then i can understand what we are looking for here.


Samir

--- Paul Fremantle [EMAIL PROTECTED] wrote:




Samir

The usual first step is to identify a library that
can be used to
provide the base SIP function. Also the library
needs to be compatible
with Apache Licensing - i.e. it must be Open Source
and also not GPL
(but LPGL is ok). Obviously if we can find one under
the Apache or BSD
license that is best.

Paul

On Dec 21, 2007 12:14 AM, samir shaikh
[EMAIL PROTECTED] wrote:

  

Paul,

I'll be happy to team up with you on this. If you
could lay out for me what is involved that will be
great. We could have something based off of the
sipservlet specification. Meanwhile, I can also
research the existing transports as part of



synapse.

  

Samir



--- Paul Fremantle [EMAIL PROTECTED] wrote:




Samir

We do not have a SIP transport for SOAP in

  

Axis2.

  

However, if you
would be willing to help write one we would be

  

very

  

happy to help.
From my knowledge of SIP it would make a good
transport and has some
benefits over HTTP. If you want to see how Axis2
transports are
written, you might actually start here:



  

http://svn.apache.org/repos/asf/webservices/synapse/trunk/java/modules/transports/src/main/java



We have written a few new transports for Axis2

  

under

  

the Synapse
project and there are some base classes to help

  

you.

  

Of course there are also the core Axis2

  

transports:

  

http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport



If you want to collaborate I will certainly

  

help.

  

Paul

On Dec 19, 2007 11:22 PM, samir shaikh
[EMAIL PROTECTED] wrote:

  

Hi,

I'm trying to get SIP to be the transport



layer

  

for my

  

Axis2 server. Does anyone know where I can



find

  

examples of that and if that is possible to



do.

  

Thank you.!

Samir










Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.  Try it now.



http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ




-



To unsubscribe, e-mail:



[EMAIL PROTECTED]

  

For additional commands, e-mail:



[EMAIL PROTECTED]

  
--

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

blog: http://pzf.fremantle.org
[EMAIL PROTECTED]

Oxygenating the Web Service Platform,

  

www.wso2.com

[Axis2] Standalone

2007-12-22 Thread Demetris G


Hi all,

   there was a discussion once whether Axis2 should be run standalone
for production software - or something of this nature. I know Axis2 can
be a web services container (standalone) and can also be executed from
within a servlet container. Can someone please shed some light on this
again? Was it the use of the HTTP server?

Thanks much



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



Re: [Axis2] ANN: book on Apache Axis2 available

2007-12-19 Thread Demetris G


Hi Kent,

with all due respect to your efforts and having in mind that not 
everything coming out of a mailing
list is legitimate and before anyone of us invest our time, effort and 
trust in your book, Is this book
endorsed by the Axis2 community? :) I will welcome it with open arms if 
it is ...


Thanks much

Kent Tong wrote:

Hi,

I've updated my book on Axis to Axis2 (Developing Web Services with Apache
Axis2). If you'd like to learn how to create web services (in particular,
using Apache Axis2) and make some sense of various standards like SOAP,
WSDL, MTOM, WS-Addressing, WS-Security, WS-Policy, XML Encryption and XML
Signature, then please check it out at http://www.agileskills2.org/DWSAA

Thanks!

-
--
Kent Tong
Wicket tutorials freely available at http://www.agileskills2.org/EWDW
  


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



Re: How to deploy a service to own web-app where axis embaded?

2007-10-22 Thread Demetris G


Thomas - that's great - but always try to share the solutions with the 
list to help

someone else that may have the same problem. Much appreciated.

Thomas Chang wrote:

Hi all,

I solved my problem myself.



*/Thomas Chang [EMAIL PROTECTED]/* schrieb:

Hi all,

I downloaded and installed the axis-1.4. I did the example6
Java2WSDL: Building WSDL from Java in the package and it runs
quite well. But in this example the web-service is deployed onto
axis.

Now I try to deploy the same web-service onto my own web-app but
it failed. I've embeded the axis into my own web-app by copying
all the sevlet and their mapping to my web.xml.

I do as follow:

1. Provide a Java interface
public interface WidgetPrice {
public void setWidgetPrice(String widgetName, String price);
public String getWidgetPrice(String widgetName);
}

2. Create WSDL using Java2WSDL as follow:
java org.apache.axis.wsdl.Java2WSDL -o wp.wsdl 
-lhttp://localhost:8080/myWebApp/services/WidgetPrice; -n 
urn:Example6
-psamples.userguide.example6 urn:Example6 
samples.userguide.example6.WidgetPrice


A wp.wsdl -file is created.


3. Create Bindings using WSDL2Java with:
java org.apache.axis.wsdl.WSDL2Java -o . -d Session -s -S true 
-Nurn:Example6 samples.userguide.example6 wp.wsdl


Several .java files and the deploy.wsdd, undeploy.wsdd are created.

4. Deploy the service onto my web-app with:
java org.apache.axis.wsdl.AdminClient deploy.wsdd

But after deployment I found the web-service is not deployed onto
my own web-app but onto the axis though in step2 I've defined the
server location is http://localhost:8080/myWebApp/services...;.

Could someone tell me the reason?

Regards

Thomas


Beginnen Sie den Tag mit den neuesten Nachrichten. Machen Sie
Yahoo! zu Ihrer Startseite!
http://de.rd.yahoo.com/evt=41213/*http://de.yahoo.com/set



Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen 
Sie´s mit dem neuen Yahoo! Mail 
http://de.rd.yahoo.com/evt=40593/*http://de.docs.yahoo.com/ymail/landing.html. 



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



Re: [ANN] Apache Savan/C 0.90 Released

2007-10-15 Thread Demetris G


Is there a Savan/Java ?

Damitha Kumarage wrote:

Hi List,
Apache Savan/C Team is pleased to announce the release of Apache 
Savan/C version 0.90

You can download this release from
http://ws.apache.org/savan/c/download.cgi
This release is supposed to be used with the Axis2C 1.1.0 distribution 
which is released recently.


Key Features:

1 Support for WS-Eventing Specification August 2004.
2 Support for Subscribe, Unsubscribe, Renew and GetStatus operations.
3 Support for subscription management endpoint which could be the
Event Source itself or separate subscription management endpoint.
4 Persistent storage for subscribers.
5 Support for both SOAP 1.1 and 1.2.
6 Samples to test scenarios.
7 Documentation

We welcome your early feedback on this implementation.
Thanks for your interest in Savan/C

-- Apache Savan/C Team -- 


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



Re: [ANN] Apache Savan/C 0.90 Released

2007-10-15 Thread Demetris G


Thanks Sanka ...

Sanka Samaranayke wrote:

Hi,



Demetris G wrote:


Is there a Savan/Java ?
  


https://svn.apache.org/repos/asf/webservices/savan/trunk/java/

AFAIK, there wasn't an official release of SAVAN.

Best,
--Sanka



Damitha Kumarage wrote:

Hi List,
Apache Savan/C Team is pleased to announce the release of Apache 
Savan/C version 0.90

You can download this release from
http://ws.apache.org/savan/c/download.cgi
This release is supposed to be used with the Axis2C 1.1.0 
distribution which is released recently.


Key Features:

1 Support for WS-Eventing Specification August 2004.
2 Support for Subscribe, Unsubscribe, Renew and GetStatus 
operations.

3 Support for subscription management endpoint which could be the
Event Source itself or separate subscription management 
endpoint.

4 Persistent storage for subscribers.
5 Support for both SOAP 1.1 and 1.2.
6 Samples to test scenarios.
7 Documentation

We welcome your early feedback on this implementation.
Thanks for your interest in Savan/C

-- Apache Savan/C Team -- 


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







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



Re: SOAP vs REST request

2007-10-09 Thread Demetris G


And I second Rajith's response below ... I am surprised that some people
actually found articles about this comparison that does not seem to be
at the same level .. messaging vs a SOA architecture ...

Interesting ...

Rajith Attapattu wrote:

Sorry to say but the article listed below is very misleading.
Comparing REST vs SOAP is the same as apples vs oranges.
REST is an architectural style while SOAP is just a message format.
REST vs WS-* or SOA in general is a more meaningful comparison.
All though there are quite a few folks who think REST is one way to 
realize SOA.


For most folks REST means XML over HTTP/GET which is not correct at all.
Read this blog post by Sanjiva 
http://www.bloglines.com/blog/sanjiva?id=227 to get a more balanced view.


It is important to understand that in order for your service to be 
RESTful your service needs to obey the REST constraints.
Flipping the switch disableREST doesn't make your service RESTful or 
not. All it does is to change the message format from POX to SOAP.
You have a greater responsibility to ensure that you design your 
service in such a way that it obeys the REST constraints.


Regards,

Rajith Attapattu.
Red Hat.

On 10/9/07, *Ganesan, Chandru* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:



Hi

I'm newbie to Axis, so pardon my rudimentary question?

What factors should I consider before choosing between  REST vs SOAP
request processing in Axis 2.0?
In case of SOAP I'd use axis2/services URI path in the WSDL soap port
(AxisServlet)
In case of REST I'd use axis2/rest URI path in the WSDL soap port
(AxisRESTServlet)

If you could also provide some basic info on the difference
between REST
and AXIS request processing, it w'd be very helpful


thanks
Chandru Ganesan
HP Select Identity
972.497.2403 (Work)
3000 Waterview Pkwy
Richardson TX 75080


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




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



Performance analysis

2007-10-03 Thread Demetris G


Does anyone know if there has been any work on profiling Axis and Axis 2?

Thanks


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



Re: Performance analysis

2007-10-03 Thread Demetris G


Super - thanks Upul.

Upul Godage wrote:

http://wso2.org/library/91

Hope this helps.

Upul


On 10/4/07, *Demetris G*  [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:



Does anyone know if there has been any work on profiling Axis and
Axis 2?

Thanks


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




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



Re: Migrating from Tomcat AXIS2 to Standalone AXIS2

2007-09-20 Thread Demetris G


Exactly ... thanks for the good feedback Anne and Amila.

Anne Thomas Manes wrote:

You'll find this to be the case with most open source projects -- why
reimplement the application container capability again when systems
like Tomcat already exist? The Axis and Axis2 teams are focusing on
solving a different problem -- processing and dispatching XML
messaging requests. The projects are designed to run in any Java EE or
servlet engine.

If you do find a commercial or open source project that includes an
application container, most likely it includes a copy of Tomcat or
Jetty or it is built on a Java EE app server.

Axis does support a stand-alone runtime mode, but it is intended only
for testing purposes, not for production runtime.

Anne

On 9/19/07, Demetris G [EMAIL PROTECTED] wrote:
  

In other words - and excuse the multiple emails on this - although I do
have a good understanding on how
Axis and Axis2 work, my point is that I noticed in the literature that
some researchers are using the wrong
terminology to explain their functionality that confuses some people.
These projects are the implementations
of the SOAP (and REST processing) specifications, they can expose WS and
process their communications
with the world. What people should understand is that the service
implementations are not really contained
in these engines and thus the Tomcats etc. Well in any case, thanks for
the feedback Amila.

Demetris G wrote:


Would you say the same for Axis ? Axis can be used as a standalone web
services container - yes ?
If not then we have people publishing papers on that that may have it
wrong.

Thanks

Demetris G wrote:
  

That's what I thought :) Thanks Amila.

Amila Suriarachchi wrote:


On 9/19/07, *Amila Suriarachchi* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:



On 9/18/07, *Demetris G*  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:


So hold on a sec - Amila, are you saying that Axis2 is not
considered a
stable and reliable enough
standalone web service container

Axis2 is not a  web service container.  Axis2 is a soap and REST
message processor which supports WS*.  Axis2 is a stable product.
Basically it concentrates on Soap and REST  message processing.


Sorry I mean It is not a standalone web application container. It
alows users to deploy web services and expose them with the soap and
REST message processing capabilities.


and it should always be deployed within
other proven
containers (i.e. Tomcat etc.)?

Yes this is the recommended way.  if you want an standalone server
you can use
WSAS ( http://wso2.com/products/wsas/) which uses  the axis2 and
embedded tomcat server.

Is this the case only for Axis2 or also
Axis? Where is this documented?




Amila Suriarachchi wrote:


 On 9/18/07, *Marko Simic*  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:


 Since the only remote part of application is single web
service
 I thought
 it would be much easer for deployment/management to
deploy
 preconfigured
 standalone dedicated server. Also it could take less
memory and
 performance
 could be better.
 Anyway, these are only assumptions = something that
should be tested.

 If you think I am wrong, I would like to hear why and
what you may
 suggest.
 Thanks.


 Tomcat is a statble web service container that handle many
concorrent
 requests and performs well.
 But on the other hand simple http server is not that much
tested and
 mainly for testing purposes.

 So the suggestion is to keep tomcat.

 Amila.

 Regards,
 Marko Simic


 Amila Suriarachchi wrote:
 
  On 9/17/07, Marko Simic  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
 
 
  I am currently working on migration from AXIS2
deployed in
 Tomcat to
  standalone version.
 
 
  why you want to do this?
  I think it is not a good idea to put simple http
server  in
 production
  use.
 
  Can someone, please, advise me:
  1. How to solve database communication problem(s)
  a) While it was working within Tomcat context we were
using
 DataSources
  and
  just passing its names to web services. Question
is: is it
 possible to do

Re: Migrating from Tomcat AXIS2 to Standalone AXIS2

2007-09-19 Thread Demetris G


That's what I thought :) Thanks Amila.

Amila Suriarachchi wrote:



On 9/19/07, *Amila Suriarachchi* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:




On 9/18/07, *Demetris G*  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:


So hold on a sec - Amila, are you saying that Axis2 is not
considered a
stable and reliable enough
standalone web service container 



Axis2 is not a  web service container.  Axis2 is a soap and REST
message processor which supports WS*.  Axis2 is a stable product.
Basically it concentrates on Soap and REST  message processing.


Sorry I mean It is not a standalone web application container. It 
alows users to deploy web services and expose them with the soap and 
REST message processing capabilities.



and it should always be deployed within
other proven
containers (i.e. Tomcat etc.)? 



Yes this is the recommended way.  if you want an standalone server
you can use
WSAS ( http://wso2.com/products/wsas/) which uses  the axis2 and
embedded tomcat server.

Is this the case only for Axis2 or also
Axis? Where is this documented?




Amila Suriarachchi wrote:


 On 9/18/07, *Marko Simic*  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:


 Since the only remote part of application is single web
service
 I thought
 it would be much easer for deployment/management to deploy
 preconfigured
 standalone dedicated server. Also it could take less
memory and
 performance
 could be better.
 Anyway, these are only assumptions = something that
should be tested.

 If you think I am wrong, I would like to hear why and
what you may
 suggest.
 Thanks.


 Tomcat is a statble web service container that handle many
concorrent
 requests and performs well.
 But on the other hand simple http server is not that much
tested and
 mainly for testing purposes.

 So the suggestion is to keep tomcat.

 Amila.

 Regards,
 Marko Simic


 Amila Suriarachchi wrote:
 
  On 9/17/07, Marko Simic  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
 
 
  I am currently working on migration from AXIS2
deployed in
 Tomcat to
  standalone version.
 
 
  why you want to do this?
  I think it is not a good idea to put simple http server  in
 production
  use.
 
  Can someone, please, advise me:
  1. How to solve database communication problem(s)
  a) While it was working within Tomcat context we were
using
 DataSources
  and
  just passing its names to web services. Question is: is it
 possible to do
  in
  the same manner (and how) or we need to use some other
approach.
  b) we were using basic web service access
authentication and
 user list
  was
  stored in mysql database.
  Question is how to translate/bridge Realms and
authentication
 methods
 
  Thank you in advance,
  Marko Simic
  Soft Division
  --
  View this message in context:
 

http://www.nabble.com/Migrating-from-Tomcat-AXIS2-to-Standalone-AXIS2-tf4467094.html#a12736804


http://www.nabble.com/Migrating-from-Tomcat-AXIS2-to-Standalone-AXIS2-tf4467094.html#a12736804
  Sent from the Axis - User mailing list archive at
Nabble.com http://Nabble.com
  http://Nabble.com.
 
 
 

-

  To unsubscribe, e-mail:
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 
 
 
 
  --
  Amila Suriarachchi,
  WSO2 Inc.
 
 

 --
 View this message in context:

http://www.nabble.com/Migrating

Re: Migrating from Tomcat AXIS2 to Standalone AXIS2

2007-09-19 Thread Demetris G


Would you say the same for Axis ? Axis can be used as a standalone web 
services container - yes ?

If not then we have people publishing papers on that that may have it wrong.

Thanks

Demetris G wrote:


That's what I thought :) Thanks Amila.

Amila Suriarachchi wrote:



On 9/19/07, *Amila Suriarachchi* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:




On 9/18/07, *Demetris G*  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:


So hold on a sec - Amila, are you saying that Axis2 is not
considered a
stable and reliable enough
standalone web service container

Axis2 is not a  web service container.  Axis2 is a soap and REST
message processor which supports WS*.  Axis2 is a stable product.
Basically it concentrates on Soap and REST  message processing.


Sorry I mean It is not a standalone web application container. It 
alows users to deploy web services and expose them with the soap and 
REST message processing capabilities.



and it should always be deployed within
other proven
containers (i.e. Tomcat etc.)?

Yes this is the recommended way.  if you want an standalone server
you can use
WSAS ( http://wso2.com/products/wsas/) which uses  the axis2 and
embedded tomcat server.

Is this the case only for Axis2 or also
Axis? Where is this documented?




Amila Suriarachchi wrote:


 On 9/18/07, *Marko Simic*  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:


 Since the only remote part of application is single web
service
 I thought
 it would be much easer for deployment/management to deploy
 preconfigured
 standalone dedicated server. Also it could take less
memory and
 performance
 could be better.
 Anyway, these are only assumptions = something that
should be tested.

 If you think I am wrong, I would like to hear why and
what you may
 suggest.
 Thanks.


 Tomcat is a statble web service container that handle many
concorrent
 requests and performs well.
 But on the other hand simple http server is not that much
tested and
 mainly for testing purposes.

 So the suggestion is to keep tomcat.

 Amila.

 Regards,
 Marko Simic


 Amila Suriarachchi wrote:
 
  On 9/17/07, Marko Simic  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
 
 
  I am currently working on migration from AXIS2
deployed in
 Tomcat to
  standalone version.
 
 
  why you want to do this?
  I think it is not a good idea to put simple http 
server  in

 production
  use.
 
  Can someone, please, advise me:
  1. How to solve database communication problem(s)
  a) While it was working within Tomcat context we were
using
 DataSources
  and
  just passing its names to web services. Question is: 
is it

 possible to do
  in
  the same manner (and how) or we need to use some other
approach.
  b) we were using basic web service access
authentication and
 user list
  was
  stored in mysql database.
  Question is how to translate/bridge Realms and
authentication
 methods
 
  Thank you in advance,
  Marko Simic
  Soft Division
  --
  View this message in context:
 

http://www.nabble.com/Migrating-from-Tomcat-AXIS2-to-Standalone-AXIS2-tf4467094.html#a12736804 


http://www.nabble.com/Migrating-from-Tomcat-AXIS2-to-Standalone-AXIS2-tf4467094.html#a12736804 


  Sent from the Axis - User mailing list archive at
Nabble.com http://Nabble.com
  http://Nabble.com.
 
 
 

-

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

 mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED

Re: Migrating from Tomcat AXIS2 to Standalone AXIS2

2007-09-19 Thread Demetris G


In other words - and excuse the multiple emails on this - although I do 
have a good understanding on how
Axis and Axis2 work, my point is that I noticed in the literature that 
some researchers are using the wrong
terminology to explain their functionality that confuses some people. 
These projects are the implementations
of the SOAP (and REST processing) specifications, they can expose WS and 
process their communications
with the world. What people should understand is that the service 
implementations are not really contained
in these engines and thus the Tomcats etc. Well in any case, thanks for 
the feedback Amila.


Demetris G wrote:


Would you say the same for Axis ? Axis can be used as a standalone web 
services container - yes ?
If not then we have people publishing papers on that that may have it 
wrong.


Thanks

Demetris G wrote:


That's what I thought :) Thanks Amila.

Amila Suriarachchi wrote:



On 9/19/07, *Amila Suriarachchi* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:




On 9/18/07, *Demetris G*  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:


So hold on a sec - Amila, are you saying that Axis2 is not
considered a
stable and reliable enough
standalone web service container

Axis2 is not a  web service container.  Axis2 is a soap and REST
message processor which supports WS*.  Axis2 is a stable product.
Basically it concentrates on Soap and REST  message processing.


Sorry I mean It is not a standalone web application container. It 
alows users to deploy web services and expose them with the soap and 
REST message processing capabilities.



and it should always be deployed within
other proven
containers (i.e. Tomcat etc.)?

Yes this is the recommended way.  if you want an standalone server
you can use
WSAS ( http://wso2.com/products/wsas/) which uses  the axis2 and
embedded tomcat server.

Is this the case only for Axis2 or also
Axis? Where is this documented?




Amila Suriarachchi wrote:


 On 9/18/07, *Marko Simic*  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:


 Since the only remote part of application is single web
service
 I thought
 it would be much easer for deployment/management to 
deploy

 preconfigured
 standalone dedicated server. Also it could take less
memory and
 performance
 could be better.
 Anyway, these are only assumptions = something that
should be tested.

 If you think I am wrong, I would like to hear why and
what you may
 suggest.
 Thanks.


 Tomcat is a statble web service container that handle many
concorrent
 requests and performs well.
 But on the other hand simple http server is not that much
tested and
 mainly for testing purposes.

 So the suggestion is to keep tomcat.

 Amila.

 Regards,
 Marko Simic


 Amila Suriarachchi wrote:
 
  On 9/17/07, Marko Simic  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
 
 
  I am currently working on migration from AXIS2
deployed in
 Tomcat to
  standalone version.
 
 
  why you want to do this?
  I think it is not a good idea to put simple http 
server  in

 production
  use.
 
  Can someone, please, advise me:
  1. How to solve database communication problem(s)
  a) While it was working within Tomcat context we were
using
 DataSources
  and
  just passing its names to web services. Question 
is: is it

 possible to do
  in
  the same manner (and how) or we need to use some other
approach.
  b) we were using basic web service access
authentication and
 user list
  was
  stored in mysql database.
  Question is how to translate/bridge Realms and
authentication
 methods
 
  Thank you in advance,
  Marko Simic
  Soft Division
  --
  View this message in context:
 

http://www.nabble.com/Migrating-from-Tomcat-AXIS2-to-Standalone-AXIS2-tf4467094.html#a12736804 


http://www.nabble.com/Migrating-from-Tomcat-AXIS2-to-Standalone-AXIS2-tf4467094.html#a12736804 


  Sent

Re: Axis2 tutorial presentation at ApacheCon US 2007

2007-09-17 Thread Demetris G


Oh sorry Jeff - I meant to say that ; this is the one in Amsterdam in 
May 07.

http://www.eu.apachecon.com/

I will be checking the one in Nov for the material as well.

Walker, Jeff wrote:

Hey Demetris,
I'm confused. I thought it is in November?
Did you mean the one they just had in Amsterdam (EU)?
Can you humor me, and send me the link?
Thanks,
-jeff

 


-Original Message-
From: Demetris G [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 17, 2007 12:24 PM

To: axis-user@ws.apache.org
Subject: Re: Axis2 tutorial presentation at ApacheCon US 2007


Jeff -- I went to the ApacheCon 07 web site and all the material (50 MB) 
is online now

for downloads. In case you haven't check it out yet :)

Thanks

Walker, Jeff wrote:
  

Yes, please!
If it is not too much trouble, I would also benefit from such publicly 
available notes on this board.
Cheers,
-jeff
 


-Original Message-
From: Demetris G [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 14, 2007 2:12 PM

To: axis-user@ws.apache.org
Subject: Re: Axis2 tutorial presentation at ApacheCon US 2007


Sorry for the anagram-challenged email. I meant if you can throw the 
notes online

after the ApacheCon is over :) Thanks

Demetris G wrote:
  


Hi Deepal,

would it be possible to throw any of the notes after the ApacheCon 
online is over?

Unfortunately I won't be able to attend.

Thanks and regards

Deepal jayasinghe wrote:

  

Hi all ,

I am planing to do an Axis2 tutorial [1] in ApacheCon US 2007. The plan
is to provide a good level of understanding on how to use Axis2 in an
effective manner. The tutorial will cover topics from ââ'¬ÅHow to deploy
Axis2ââ'¬Â� to ââ'¬Åwriting a complex application with Axis2ââ'¬Â� and ââ'¬Åhow 
to use

Axis2 to invoke a remote serviceââ'¬Â�. I am not going to explain in detail
about the Axis2 architecture and how the components inter-communicate,
but as a user or as a developer you will get a good idea on how to work
with Axis2.

If you are planning to attend the tutorial, please register before
early-bird registration is closed.

[1] : http://us.apachecon.com/us2007/program/talk/1900

Thanks
Deepal


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


  


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





  



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




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



  


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



Re: Axis2 tutorial presentation at ApacheCon US 2007

2007-09-14 Thread Demetris G


Sorry for the anagram-challenged email. I meant if you can throw the 
notes online

after the ApacheCon is over :) Thanks

Demetris G wrote:


Hi Deepal,

would it be possible to throw any of the notes after the ApacheCon 
online is over?

Unfortunately I won't be able to attend.

Thanks and regards

Deepal jayasinghe wrote:

Hi all ,

I am planing to do an Axis2 tutorial [1] in ApacheCon US 2007. The plan
is to provide a good level of understanding on how to use Axis2 in an
effective manner. The tutorial will cover topics from “How to deploy
Axis2� to “writing a complex application with Axis2� and “how 
to use

Axis2 to invoke a remote service�. I am not going to explain in detail
about the Axis2 architecture and how the components inter-communicate,
but as a user or as a developer you will get a good idea on how to work
with Axis2.

If you are planning to attend the tutorial, please register before
early-bird registration is closed.

[1] : http://us.apachecon.com/us2007/program/talk/1900

Thanks
Deepal


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






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



Re: Axis2 tutorial presentation at ApacheCon US 2007

2007-09-14 Thread Demetris G


Hi Deepal,

would it be possible to throw any of the notes after the ApacheCon 
online is over?

Unfortunately I won't be able to attend.

Thanks and regards

Deepal jayasinghe wrote:

Hi all ,

I am planing to do an Axis2 tutorial [1] in ApacheCon US 2007. The plan
is to provide a good level of understanding on how to use Axis2 in an
effective manner. The tutorial will cover topics from “How to deploy
Axis2� to “writing a complex application with Axis2� and “how to use
Axis2 to invoke a remote service�. I am not going to explain in detail
about the Axis2 architecture and how the components inter-communicate,
but as a user or as a developer you will get a good idea on how to work
with Axis2.

If you are planning to attend the tutorial, please register before
early-bird registration is closed.

[1] : http://us.apachecon.com/us2007/program/talk/1900

Thanks
Deepal


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


  


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



Re: SOAP Implementation

2007-09-07 Thread Demetris G


And you are saying that Anne because Axis support SOAP RPC Encoding?
Does Axis2 supports SOAP Document/Literal encoding? Does it also support
wrapped document literal ?

Anne Thomas Manes wrote:

If you need to support SOAP Encoding, then you will need to use Axis
rather than Axis2.

Anne

On 9/5/07, Paul Fremantle [EMAIL PROTECTED] wrote:
  

Sure you can use Axis2. The latest Eclipse Webtools project has Axis2 built in.
You can also use Axis2 simply following the UserGuide or samples.

Paul

On 9/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


Hi,
I have to make SOAP implementation.
I am not sure if I can use AXIS2 to do so
or I have to do with normal AXIS?
I guess I have to do with normal AXIS, Is there any usefull resource on the Net 
about how to do such implementation, possibly with Eclipse IDE?

Thanks
Nenad

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


  

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

blog: http://pzf.fremantle.org
[EMAIL PROTECTED]

Oxygenating the Web Service Platform, www.wso2.com

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





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


  


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



Re: SOAP Implementation

2007-09-07 Thread Demetris G


Well this may also shed some light to what I am asking - thanks to Anne 
again:


http://searchwebservices.techtarget.com/ateQuestionNResponse/0,289625,sid26_cid494324_tax289201,00.html

Anne Thomas Manes wrote:

If you need to support SOAP Encoding, then you will need to use Axis
rather than Axis2.

Anne

On 9/5/07, Paul Fremantle [EMAIL PROTECTED] wrote:
  

Sure you can use Axis2. The latest Eclipse Webtools project has Axis2 built in.
You can also use Axis2 simply following the UserGuide or samples.

Paul

On 9/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


Hi,
I have to make SOAP implementation.
I am not sure if I can use AXIS2 to do so
or I have to do with normal AXIS?
I guess I have to do with normal AXIS, Is there any usefull resource on the Net 
about how to do such implementation, possibly with Eclipse IDE?

Thanks
Nenad

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


  

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

blog: http://pzf.fremantle.org
[EMAIL PROTECTED]

Oxygenating the Web Service Platform, www.wso2.com

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





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


  


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



Re: SOAP Implementation

2007-09-07 Thread Demetris G


Got it - thanks.

Anne Thomas Manes wrote:

Axis supports rpc/encoded (default) and document/literal (both wrapped
and unwrapped). In Axis 1.3 they added support for rpc/literal.

Axis2 supports rpc/literal and document/literal. Axis2 1.3 added
support for wrapped doc/literal.

Anne

On 9/7/07, Demetris G [EMAIL PROTECTED] wrote:
  

And you are saying that Anne because Axis support SOAP RPC Encoding?
Does Axis2 supports SOAP Document/Literal encoding? Does it also support
wrapped document literal ?

Anne Thomas Manes wrote:


If you need to support SOAP Encoding, then you will need to use Axis
rather than Axis2.

Anne

On 9/5/07, Paul Fremantle [EMAIL PROTECTED] wrote:

  

Sure you can use Axis2. The latest Eclipse Webtools project has Axis2 built in.
You can also use Axis2 simply following the UserGuide or samples.

Paul

On 9/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:



Hi,
I have to make SOAP implementation.
I am not sure if I can use AXIS2 to do so
or I have to do with normal AXIS?
I guess I have to do with normal AXIS, Is there any usefull resource on the Net 
about how to do such implementation, possibly with Eclipse IDE?

Thanks
Nenad

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



  

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

blog: http://pzf.fremantle.org
[EMAIL PROTECTED]

Oxygenating the Web Service Platform, www.wso2.com

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





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



  

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





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


  


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



Re: Emailing

2007-08-13 Thread Demetris G


Sure - that should work for spam control. How about automatic filing? I 
wonder if I can figure something

out through the To: field for automatic filing as well.

Thanks Keith

keith chapman wrote:
You can filter the mails using the to field for the moment though. I 
use this method (BTW i havent seem any spasm mails on the axis user or 
dev list, so should work).


Thanks,
Keith.

On 8/13/07, *Demetris G* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:



Either way I am not really concerned whether it says Axis2 or Axis 1.X
as long as it says
Axis. That way my spam filters will not label these emails as spam and
further more I will
able to file them automatically in folders for this kind of emails.
If it is too much work for this to be in place then never mind.
And for
those members of
the list who actually put the extra effort to add the prefix to their
titles - KUDOS to you
and we greatly appreciate it.

Thanks for the responses Keith.

keith chapman wrote:
 Nope the mail server does not add it. Most users use it by practice.
 If the question is regarding Axis2 you are advised to add the Axis2
 prefix (not required to). Thats the reason that some mails have the
 prefix and some dont. Nothing to do with the mail server.

 May be your point is that you would like that mail server to add a
 Axis prefix. But the list is for both Axis2 and Axis related
discussions.

 Thanks,
 Keith.


 On 8/13/07, *Demetris G* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:


 Hey Keith,

 but that is what I was asking - in JXTA mailing lists
the user do
 not have to add that
 prefix in their title - the outgoing mail server takes care
of that
 automatically. Does the
 Axis2 ir any axis list do that ? I see some emails in the
list having
 that and some don't.

 Thanks

 keith chapman wrote:
  This mailing lists are used both for AXIS discussions and
AXIS@
  discussions. Hence if the question is regarding Axis2 its
better to
  use the [AXIS2] prefix in the subject. This is the reason
for some
  mails having the prefix.
 
  Thanks,
  Keith.
 
  On 8/13/07, *Demetris G*  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 
 
  Sometimes asking a question on the list but not
getting back
 an answer
  makes me think that either I have asked an amazingly
 advanced question
  and have baffled the world ( I DOUBT IT !) or a naive
one that
  makes me
  think twice next time I do so. But this cannot be that
bad -
 should I
  believe
  that no one is taking care of this mailing list? Or is
she/he on
  vacation
  at a sunny resort while we are pounding away on code? ;)
 (hey good
  for
  them)
  So once again - to the sys admin of this list - can
you let
 us know if
  there
  is a remedy to the situation below ?
 
  Many more thanks this time around and cheers
 
  Demetris G wrote:
  
   Just a question outside the Axis content -
  
   I get emails from various lists and most of them
mark their
  title with
   the mailing list name - [jxta], [owl-s] etc. I noticed
 that Axis
  mailing
   lists sometimes have this sometimes they don't - I
get emails
  that have
   all the signs of spam / malicious and they turn out
to be
  someone asking
   for help about a bug (and trust me, the titles some
of you
 choose to
   describe your problem crack me up as they are all but
 friendly ;) )
  
   So - is there something that the Axis mailing
 administrators can
  do to
   help with this one so that we can configure our spam
 filters to
  help us
   a bit more with filtering out garbage ?
  
   Much appreciated.
  
  
 
  
 
 

-

  To unsubscribe, e-mail:
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED

Emailing

2007-08-12 Thread Demetris G


Sometimes asking a question on the list but not getting back an answer
makes me think that either I have asked an amazingly advanced question
and have baffled the world ( I DOUBT IT !) or a naive one that makes me
think twice next time I do so. But this cannot be that bad - should I 
believe

that no one is taking care of this mailing list? Or is she/he on vacation
at a sunny resort while we are pounding away on code? ;) (hey good for
them)
So once again - to the sys admin of this list - can you let us know if 
there

is a remedy to the situation below ?

Many more thanks this time around and cheers

Demetris G wrote:


Just a question outside the Axis content -

I get emails from various lists and most of them mark their title with
the mailing list name - [jxta], [owl-s] etc. I noticed that Axis mailing
lists sometimes have this sometimes they don't - I get emails that have
all the signs of spam / malicious and they turn out to be someone asking
for help about a bug (and trust me, the titles some of you choose to
describe your problem crack me up as they are all but friendly ;) )

So - is there something that the Axis mailing administrators can do to
help with this one so that we can configure our spam filters to help us
a bit more with filtering out garbage ?

Much appreciated.








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



Re: Emailing

2007-08-12 Thread Demetris G


Hey Keith,

   but that is what I was asking - in JXTA mailing lists the user do 
not have to add that
prefix in their title - the outgoing mail server takes care of that 
automatically. Does the
Axis2 ir any axis list do that ? I see some emails in the list having 
that and some don't.


Thanks

keith chapman wrote:
This mailing lists are used both for AXIS discussions and AXIS@ 
discussions. Hence if the question is regarding Axis2 its better to 
use the [AXIS2] prefix in the subject. This is the reason for some 
mails having the prefix.


Thanks,
Keith.

On 8/13/07, *Demetris G* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:



Sometimes asking a question on the list but not getting back an answer
makes me think that either I have asked an amazingly advanced question
and have baffled the world ( I DOUBT IT !) or a naive one that
makes me
think twice next time I do so. But this cannot be that bad - should I
believe
that no one is taking care of this mailing list? Or is she/he on
vacation
at a sunny resort while we are pounding away on code? ;) (hey good
for
them)
So once again - to the sys admin of this list - can you let us know if
there
is a remedy to the situation below ?

Many more thanks this time around and cheers

Demetris G wrote:

 Just a question outside the Axis content -

 I get emails from various lists and most of them mark their
title with
 the mailing list name - [jxta], [owl-s] etc. I noticed that Axis
mailing
 lists sometimes have this sometimes they don't - I get emails
that have
 all the signs of spam / malicious and they turn out to be
someone asking
 for help about a bug (and trust me, the titles some of you choose to
 describe your problem crack me up as they are all but friendly ;) )

 So - is there something that the Axis mailing administrators can
do to
 help with this one so that we can configure our spam filters to
help us
 a bit more with filtering out garbage ?

 Much appreciated.





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




--
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/ 


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



Re: Emailing

2007-08-12 Thread Demetris G


Either way I am not really concerned whether it says Axis2 or Axis 1.X 
as long as it says
Axis. That way my spam filters will not label these emails as spam and 
further more I will

able to file them automatically in folders for this kind of emails.
If it is too much work for this to be in place then never mind. And for 
those members of
the list who actually put the extra effort to add the prefix to their 
titles - KUDOS to you

and we greatly appreciate it.

Thanks for the responses Keith.

keith chapman wrote:
Nope the mail server does not add it. Most users use it by practice. 
If the question is regarding Axis2 you are advised to add the Axis2 
prefix (not required to). Thats the reason that some mails have the 
prefix and some dont. Nothing to do with the mail server.


May be your point is that you would like that mail server to add a 
Axis prefix. But the list is for both Axis2 and Axis related discussions.


Thanks,
Keith.


On 8/13/07, *Demetris G* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:



Hey Keith,

but that is what I was asking - in JXTA mailing lists the user do
not have to add that
prefix in their title - the outgoing mail server takes care of that
automatically. Does the
Axis2 ir any axis list do that ? I see some emails in the list having
that and some don't.

Thanks

keith chapman wrote:
 This mailing lists are used both for AXIS discussions and AXIS@
 discussions. Hence if the question is regarding Axis2 its better to
 use the [AXIS2] prefix in the subject. This is the reason for some
 mails having the prefix.

 Thanks,
 Keith.

 On 8/13/07, *Demetris G*  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:


 Sometimes asking a question on the list but not getting back
an answer
 makes me think that either I have asked an amazingly
advanced question
 and have baffled the world ( I DOUBT IT !) or a naive one that
 makes me
 think twice next time I do so. But this cannot be that bad -
should I
 believe
 that no one is taking care of this mailing list? Or is she/he on
 vacation
 at a sunny resort while we are pounding away on code? ;)
(hey good
 for
 them)
 So once again - to the sys admin of this list - can you let
us know if
 there
 is a remedy to the situation below ?

 Many more thanks this time around and cheers

 Demetris G wrote:
 
  Just a question outside the Axis content -
 
  I get emails from various lists and most of them mark their
 title with
  the mailing list name - [jxta], [owl-s] etc. I noticed
that Axis
 mailing
  lists sometimes have this sometimes they don't - I get emails
 that have
  all the signs of spam / malicious and they turn out to be
 someone asking
  for help about a bug (and trust me, the titles some of you
choose to
  describe your problem crack me up as they are all but
friendly ;) )
 
  So - is there something that the Axis mailing
administrators can
 do to
  help with this one so that we can configure our spam
filters to
 help us
  a bit more with filtering out garbage ?
 
  Much appreciated.
 
 

 


-

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




 --
 Keith Chapman
 WSO2 Inc.
 Oxygen for Web Services Developers.
 http://wso2.org/

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




--
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/ 


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



Email marking

2007-08-09 Thread Demetris G


Just a question outside the Axis content -

I get emails from various lists and most of them mark their title with
the mailing list name - [jxta], [owl-s] etc. I noticed that Axis mailing
lists sometimes have this sometimes they don't - I get emails that have
all the signs of spam / malicious and they turn out to be someone asking
for help about a bug (and trust me, the titles some of you choose to
describe your problem crack me up as they are all but friendly ;) )

So - is there something that the Axis mailing administrators can do to
help with this one so that we can configure our spam filters to help us
a bit more with filtering out garbage ?

Much appreciated.


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



Re: From Axis to Axis

2007-07-26 Thread Demetris G


And thanks much to you David as well for the information below. I was 
expecting that

some work at least will need to be  done on the client side.

david wrote:

Hello Demetris, Ann Manes (above-the-call-of-duty) rewrote my Axis1.4 WSDL 
(rpc-encoded) as so-called wrappered to assume the document-literal binding. 
And, Viola!, the WSDL2JAVA tool migrated the Axis1.4 code to Axis2. The only caveat 
is: the client has to be migrated likewise. HTH, David.

Demetris G wrote ..
  

Hi all,

I asked this question once before and although a bit broad I thought
I would
hear something back. I am trying my luck once again - I see and hear poor
souls out there struggling with real old versions of Axis and my guess
is that
migrating to Axis2 is a bit scary for them. Can anyone summarize what any
Axis 1.X users can do to slowly make the move to Axis 2 ? Are we talking
about a complete re-engineering of their designs or is there hope to migrate
a bit smoother. And if this question (and I wouldn't be surprised) has
been
answered before then by all means, apologies, I will revert to the archives.

And by the way -
I wrote lots of code in Axis 1.4 and I am pretty happy with the results
...

Cheers


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



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


  


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



Re: [Axis2] From Axis to Axis2

2007-07-26 Thread Demetris G


Thanks much Deepal - I will check out the links and see what I can use 
from them.


Deepal Jayasinghe wrote:

Hi ,

Well , you have bit of work to do and some of them (most commonly used )
are described in [1] . If you want to migrate to Axis2 without changing
your service you could try with WSO2 WSAS [2] , since it has support to
deploy Axis1 service in Axis2 without any change .

[1] : http://ws.apache.org/axis2/1_2/migration.html
[2] : http://wso2.com/products/wsas/

Thanks
Deepal
  


Hi all,

   I asked this question once before and although a bit broad I thought
I would
hear something back. I am trying my luck once again - I see and hear poor
souls out there struggling with real old versions of Axis and my guess
is that
migrating to Axis2 is a bit scary for them. Can anyone summarize what any
Axis 1.X users can do to slowly make the move to Axis 2 ? Are we talking
about a complete re-engineering of their designs or is there hope to
migrate
a bit smoother. And if this question (and I wouldn't be surprised) has
been
answered before then by all means, apologies, I will revert to the
archives.

And by the way -
I wrote lots of code in Axis 1.4 and I am pretty happy with the
results ...

Cheers







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


  


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



From Axis to Axis

2007-07-25 Thread Demetris G


Hi all,

   I asked this question once before and although a bit broad I thought 
I would

hear something back. I am trying my luck once again - I see and hear poor
souls out there struggling with real old versions of Axis and my guess 
is that

migrating to Axis2 is a bit scary for them. Can anyone summarize what any
Axis 1.X users can do to slowly make the move to Axis 2 ? Are we talking
about a complete re-engineering of their designs or is there hope to migrate
a bit smoother. And if this question (and I wouldn't be surprised) has been
answered before then by all means, apologies, I will revert to the archives.

And by the way -
I wrote lots of code in Axis 1.4 and I am pretty happy with the results ...

Cheers


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



Re: SOAP response

2007-06-25 Thread Demetris G


Hi Jeff,

   in fact it didn't - for some strange reason the Content-Length comes 
in as -1 althought the
SOAP response is 2000 characters. So I simply re-send it myself after I 
read the response.
And now to the good part - I managed to figure out the issue of the 
Client stalling - as
silly as it sounds, I need to simply close the socket once I am done 
writing to it and voila
the Client accepts the complete message and it is happy. The parsing 
issue that I had
originally is a mystery cause it has not appeared again. So I guess I 
will need to open the
socket to write and then close it once I am done for all the RPC calls 
to and from the

Client. Sounds strange ? Well it works :)

   Jeff - thanks for all the help and insights so far - I appreciate it 
and I will continue to

keep you and the list updated on these adventures as we are all learning.

Walker, Jeff wrote:

Demetris G,
Time for me to ask a stupid question.
Does the value of the Content-Length:  http header of your response
match the length of all of the actual sent characters?
-jeff


-Original Message-
From: Demetris G [mailto:[EMAIL PROTECTED] 
Sent: Saturday, June 23, 2007 10:33 PM

To: axis-user@ws.apache.org
Subject: Re: SOAP response


Hi all,
   
is it possible that no one working with Axis for a while now knows 
what terminates
the SOAP message coming from the server engine ?? Anyone ? I will 
appreciate it.
Nothing shows up in the tcpmon or any other tool I used however the SAX 
parser
see the complete SOAP envelope as shown below but yet it block waiting 
for something
else. What is this extra data that it is expecting ? I am sifting 
through the Axis/SAX

classes but it takes a long time to chase this.

Thanks much

Demetris G wrote:
  

Jeff -- I traced the SAX and Xerces routines to find out what they are



  

doing but it
gets a bit hectic to figure them out. I know the client reads back the



  

headers I send
it and all of the SOAP message below (if for example I mispell the 
last tag of the SOAP
message then SAX is complaining which means it does parse it till 
them). But the parser
is stuck on SocketInputStream.read() as if it is expecting more after 
the last tag of the

SOAP message - I tried CR / LF but that does not do it.

Any suggestions ??

  ?xml version=\1.0\ encoding=\UTF-8\?
 soapenv:Envelope 
xmlns:soapenv=\http://schemas.xmlsoap.org/soap/envelope/\; 
 
xmlns:xsd=\http://www.w3.org/2001/XMLSchema\; 
 
xmlns:xsi=\http://www.w3.org/2001/XMLSchema-instance\;

 soapenv:Body
 ns1:getBundlesResponse 
soapenv:encodingStyle=\
 
http://schemas.xmlsoap.org/soap/encoding/\; 
 
xmlns:ns1=\http://soapobject.bundle.org\;
 getBundlesReturn 
soapenc:arrayType=\xsd:long[24]\ xsi:type=\soapenc:Array\ 
 
xmlns:soapenc=\http://schemas.xmlsoap.org/soap/encoding/\;
 getBundlesReturn 
href=\#id23\/

 /getBundlesReturn
 /ns1:getBundlesResponse
 multiRef id=\id23\ 
soapenc:root=\0\ 
 
soapenv:encodingStyle=\http://schemas.xmlsoap.org/soap/encoding/\; 
 xsi:type=\xsd:long\ 
xmlns:soapenc=\http://schemas.xmlsoap.org/soap/encoding/\;

 3
 /multiRef
 /soapenv:Body
 /soapenv:Envelope;


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





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




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



  


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



Re: SOAP response

2007-06-23 Thread Demetris G


Jeff -- I traced the SAX and Xerces routines to find out what they are 
doing but it
gets a bit hectic to figure them out. I know the client reads back the 
headers I send
it and all of the SOAP message below (if for example I mispell the last 
tag of the SOAP
message then SAX is complaining which means it does parse it till them). 
But the parser
is stuck on SocketInputStream.read() as if it is expecting more after 
the last tag of the

SOAP message - I tried CR / LF but that does not do it.

Any suggestions ??

  ?xml version=\1.0\ encoding=\UTF-8\?
 soapenv:Envelope 
xmlns:soapenv=\http://schemas.xmlsoap.org/soap/envelope/\; 
 
xmlns:xsd=\http://www.w3.org/2001/XMLSchema\; 
 
xmlns:xsi=\http://www.w3.org/2001/XMLSchema-instance\;

 soapenv:Body
 ns1:getBundlesResponse 
soapenv:encodingStyle=\
 
http://schemas.xmlsoap.org/soap/encoding/\; 
 
xmlns:ns1=\http://soapobject.bundle.org\;
 getBundlesReturn 
soapenc:arrayType=\xsd:long[24]\ xsi:type=\soapenc:Array\ 
 
xmlns:soapenc=\http://schemas.xmlsoap.org/soap/encoding/\;
 getBundlesReturn 
href=\#id23\/

 /getBundlesReturn
 /ns1:getBundlesResponse
 multiRef id=\id23\ 
soapenc:root=\0\ 
 
soapenv:encodingStyle=\http://schemas.xmlsoap.org/soap/encoding/\; 
 xsi:type=\xsd:long\ 
xmlns:soapenc=\http://schemas.xmlsoap.org/soap/encoding/\;

 3
 /multiRef
 /soapenv:Body
 /soapenv:Envelope;


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



Re: SOAP response

2007-06-23 Thread Demetris G


Hi all,
  
   is it possible that no one working with Axis for a while now knows 
what terminates
the SOAP message coming from the server engine ?? Anyone ? I will 
appreciate it.
Nothing shows up in the tcpmon or any other tool I used however the SAX 
parser
see the complete SOAP envelope as shown below but yet it block waiting 
for something
else. What is this extra data that it is expecting ? I am sifting 
through the Axis/SAX

classes but it takes a long time to chase this.

Thanks much

Demetris G wrote:


Jeff -- I traced the SAX and Xerces routines to find out what they are 
doing but it
gets a bit hectic to figure them out. I know the client reads back the 
headers I send
it and all of the SOAP message below (if for example I mispell the 
last tag of the SOAP
message then SAX is complaining which means it does parse it till 
them). But the parser
is stuck on SocketInputStream.read() as if it is expecting more after 
the last tag of the

SOAP message - I tried CR / LF but that does not do it.

Any suggestions ??

  ?xml version=\1.0\ encoding=\UTF-8\?
 soapenv:Envelope 
xmlns:soapenv=\http://schemas.xmlsoap.org/soap/envelope/\; 
 
xmlns:xsd=\http://www.w3.org/2001/XMLSchema\; 
 
xmlns:xsi=\http://www.w3.org/2001/XMLSchema-instance\;

 soapenv:Body
 ns1:getBundlesResponse 
soapenv:encodingStyle=\
 
http://schemas.xmlsoap.org/soap/encoding/\; 
 
xmlns:ns1=\http://soapobject.bundle.org\;
 getBundlesReturn 
soapenc:arrayType=\xsd:long[24]\ xsi:type=\soapenc:Array\ 
 
xmlns:soapenc=\http://schemas.xmlsoap.org/soap/encoding/\;
 getBundlesReturn 
href=\#id23\/

 /getBundlesReturn
 /ns1:getBundlesResponse
 multiRef id=\id23\ 
soapenc:root=\0\ 
 
soapenv:encodingStyle=\http://schemas.xmlsoap.org/soap/encoding/\; 
 xsi:type=\xsd:long\ 
xmlns:soapenc=\http://schemas.xmlsoap.org/soap/encoding/\;

 3
 /multiRef
 /soapenv:Body
 /soapenv:Envelope;


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




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



Re: SOAP response

2007-06-22 Thread Demetris G


Hey Jeff,

   nicely done - one can certainly not do without experimenting and 
analyzing the line
into and out of servers/clients to find out what is going on. And what 
you listed below

can certainly help me. In fact I did suspect that
I do get extraneous characters from these engines as my socket 
monitoring loops
spit out nulls before and after the messages. In any case, there is 
nothing much in the
code to see now, it is a simple client sitting listening to a port on 
the localhost while
the Axis stubs write to that port with the service call. Once the SOAP 
arrives I capture
it, I feed it manually to the server Axis on another machine, capture 
the output and
then feed it manually back in the waiting client. Sometimes depending on 
how I
send the headers or the SOAP body the client will block and only if I 
kill the response
sending process the client will come back with the Connection Refused 
message -
otherwise if I add a CR or an LF to the mix then the client will instead 
give me either
a SAX parsing error without blocking or it will give me No Content 
allowed in trailing
section - for this in fact I found some postings on it that do seem to 
touch on the issue
of how the client works and why it blocks: 
http://www.nabble.com/Content-is-not-allowed-in-trailing-section-tf75635.html#a205589


   In any case, this reveals that I am not sending something that the 
client excepts like
you very correctly pointed out but I am not doing anything fancy - I get 
the post,
I retrieve the headers and everything else around them and I send them 
over. And

as you could see my SOAP response that I feed back into the client resembles
very much the SOAP response you captured in the tcpmon (which by the way I
installed and I am playing with).

   Anyway - once again - fantastic job in responding man and I 
appreciate it

and I will certainly let you know what I find out later on today.

Cheers



Walker, Jeff wrote:

Hi,
Well, of course without looking at your code and setup, I can't really
help much.
All I can say is, I tried to simulate the stopping of the server. Here's
what I did:

1. I have a basic example web service up and running. The service runs
on WebSphere 6.0, the client is actually a small Java program running on
Eclipse 3.2, but they both exist on the same physical machine. I also
run org.apache.axis.utils.tcpmon to watch the request and response msgs
going bck and forth.
2. I placed a breakpoint in one of my service methods, and started the
server in debug mode.
3. I started the client and made a call to the web service.
4. The breakpoint in the service was hit. I looked at tcpmon and can see
the request that went to the server. The text area that shows the
response was as expected, totally, empty. At the client, it is
blocked-waiting for the response.
5. At this point, I stopped the debugger, which basically kills the
whole service.
6. Not sure exactly where it comes from, but it looks like the service
(Axis?) throws this response back to the lcient:
  java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
...
I can see this clearly in tcpmon. The client receives that response and
that causes a RemoteException to pop up in my client. The text is:
Caught a RemoteException when retrieving data: (0)null


So, how does this help?
Well, I didn't see any of those strange characters that preceded and
followed the request/response you showed in one of your emails.
Admittely, my web service does minimal parsing of the xml, but it shows
that the client is blocked-waiting for a response. If it fails to get a
correct one, you either get a timeout, a RemoteException or SOAP Fault.
I killed the debugging session, and the client received the connection
refused .. response which was interpreted as a RemoteException. I
cannot see how your getting a SAX parsing error, if the client should be
blocked-waiting on your response. (You never mention that you may be
doing asynchronous web service calls, so I am assuming your doing
synchronous calls).

I can only conclude that some part of your setup is very non-standard.
It seems like the service is not a real web service. At this point, you
need to see exactly what is being sent from the client, and what is
being sent back from your simulated service, in normal expected
situation and when you kill the service. I would recommend using Axis's
tcpmon because it is very easy to setup, but it 'may' clean up certain
extraneous characters, and so a line sniffer would be better, but
obviously way more dificult to get a hold of and setup.
Good luck!
-jeff



-Original Message-
From: Demetris G [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 21, 2007 6:46 PM

To: axis-user@ws.apache.org
Subject: Re: SOAP response


One thing I noticed is that if I kill the server response process that 
is forwarding the SOAP
response

Re: SOAP response

2007-06-22 Thread Demetris G


Does anyone know which classes on the server side are packaging and 
sending out the
SOAP Response. Just to save some time looking for them. I was able to 
find the

appropriate classes on the client side that accept the SOAP response.
This is for Axis 1.4. Much appreciated.

Thanks much


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



Re: SOAP response

2007-06-21 Thread Demetris G


Hi Jeff,

   yes you are absolutely right - I took a look at the 
axis.transport.http.HTTPSender
and the code expects the headers. So on the server side I got the header 
from the
post object and fed them back into the client engine. That took care of 
the number
format issue - now it is just stalling without complaining. Hmm .. I 
wonder what else

it needs.

Thanks again man

Walker, Jeff wrote:

Hi Demetris,
I'm using Axis 1.3, but these are the HTTP headers that my requests tend
to have:

POST /axis/services/ExampleAxisService HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related,
text/*
User-Agent: Axis/1.3
Host: 127.0.0.1:1234
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: 
Content-Length: 445

?xml version=1.0 encoding=UTF-8?soapenv:Envelope ...

And these are the ones on the response:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=09876Jeffrey; Domain=pag; Expires=Thu,
21-Jun-2007 15:31:07 GMT
Content-Type: text/xml;charset=utf-8
Date: Thu, 21 Jun 2007 12:44:27 GMT
Connection: close

?xml version=1.0 encoding=utf-8?soapenv:Envelope ...


Obviously, you can change the SOAPAction and a few of the others, but
the answer I believe is yes, the HTTP headers do matter in web services
that go over the http protocol.
-jeff



 


-Original Message-
From: Demetris G [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 20, 2007 8:00 PM

To: Demetris G
Cc: axis-user@ws.apache.org
Subject: Re: SOAP response


Hi again,

I didn't get a response for the simple issue below so I am trying 
again. I intercept the
response from a legitimate SOAP call to a remote Axis container and I 
return it back

to the client by simply feeding it into the socket that the client wrote

the HTTP bundle
to. Shouldn't this work ? what I am missing ? Is the client side 
excepting to see HTTP

headers etc and not just the SOAP response ? I will appreciate any ideas

on this.

Thanks

Demetris G wrote:
  

Hi all,

   I am manually feeding the following SOAP response into an Axis 
engine that requested
this through a SOAP message and Axis responds with a 
java.lang.NumberFormatException

For input string quot;version=quot;1.0quot; etc.

   Shouldn't the msg below be accepted with no issues from the engine 
?? What is it missing?


Thanks much



?xml version=1.0 encoding=UTF-8?soapenv:Envelope 
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema; 



xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;soapenv:Bodyns1
:getBundlesResponse 
  
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 


xmlns:ns1=http://soapobject.bundle.knopflerfish.org;getBundlesReturn 
  
soapenc:arrayType=xsd:long[24] xsi:type=soapenc:Array 



xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;getBundlesRet
urn 
  
href=#id0/getBundlesReturn href=#id1/getBundlesReturn 
href=#id2/getBundlesReturn href=#id3/getBundlesReturn 
href=#id4/getBundlesReturn href=#id5/getBundlesReturn 
href=#id6/getBundlesReturn href=#id7/getBundlesReturn 
href=#id8/getBundlesReturn href=#id9/getBundlesReturn 
href=#id10/getBundlesReturn href=#id11/getBundlesReturn 
href=#id12/getBundlesReturn href=#id13/getBundlesReturn 
href=#id14/getBundlesReturn href=#id15/getBundlesReturn 
href=#id16/getBundlesReturn href=#id17/getBundlesReturn 
href=#id18/getBundlesReturn href=#id19/getBundlesReturn 
href=#id20/getBundlesReturn href=#id21/getBundlesReturn 
href=#id22/getBundlesReturn 
href=#id23//getBundlesReturn/ns1:getBundlesResponsemultiRef 
id=id12 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 



xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;18/multiRef
multiRef 
  
id=id22 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 



xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;22/multiRef
multiRef 
  
id=id17 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 



xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;23/multiRef
multiRef 
  
id=id14 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 



xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;13/multiRef
multiRef 
  
id=id18 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 



xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;17/multiRef
multiRef 
  
id=id16 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 



xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;12/multiRef
multiRef 
  
id=id20 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 



xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;6/multiRefm
ultiRef 
  
id=id9 soapenc:root=0

Re: SOAP response

2007-06-21 Thread Demetris G


Hey Jeff,

   I am working on that now. I am going to step through it to see what 
the story is. But
I think you may have a good point there cause I am sending it all that 
it needs. I will

let you know.

Thanks

Walker, Jeff wrote:

Is it the client that is stalling?
Then I would guess it is waiting for the correct terminating character.
(Is there some terminator that the http protocol uses to end a
response??) When I emailed the request/response http headers, I used
tcpmon to capture them, and that may have stripped off any terminating
character, so I can't see it.

Can you turn on your debugger and step through the code and see if the
client is stalled waiting for the response to complete?
-jeff


 


-Original Message-
From: Demetris G [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 21, 2007 1:51 PM

To: axis-user@ws.apache.org
Subject: Re: SOAP response


Hi Jeff,

yes you are absolutely right - I took a look at the 
axis.transport.http.HTTPSender

and the code expects the headers. So on the server side I got the header

from the
post object and fed them back into the client engine. That took care of 
the number
format issue - now it is just stalling without complaining. Hmm .. I 
wonder what else

it needs.

Thanks again man

Walker, Jeff wrote:
  

Hi Demetris,
I'm using Axis 1.3, but these are the HTTP headers that my requests


tend
  

to have:

POST /axis/services/ExampleAxisService HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related,
text/*
User-Agent: Axis/1.3
Host: 127.0.0.1:1234
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: 
Content-Length: 445

?xml version=1.0 encoding=UTF-8?soapenv:Envelope ...

And these are the ones on the response:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=09876Jeffrey; Domain=pag; Expires=Thu,
21-Jun-2007 15:31:07 GMT
Content-Type: text/xml;charset=utf-8
Date: Thu, 21 Jun 2007 12:44:27 GMT
Connection: close

?xml version=1.0 encoding=utf-8?soapenv:Envelope ...


Obviously, you can change the SOAPAction and a few of the others, but
the answer I believe is yes, the HTTP headers do matter in web


services
  

that go over the http protocol.
-jeff



 


-Original Message-
From: Demetris G [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 20, 2007 8:00 PM

To: Demetris G
Cc: axis-user@ws.apache.org
Subject: Re: SOAP response


Hi again,

I didn't get a response for the simple issue below so I am trying 
again. I intercept the
response from a legitimate SOAP call to a remote Axis container and I 
return it back

to the client by simply feeding it into the socket that the client


wrote
  

the HTTP bundle
to. Shouldn't this work ? what I am missing ? Is the client side 
excepting to see HTTP

headers etc and not just the SOAP response ? I will appreciate any


ideas
  

on this.

Thanks

Demetris G wrote:
  


Hi all,

   I am manually feeding the following SOAP response into an Axis 
engine that requested
this through a SOAP message and Axis responds with a 
java.lang.NumberFormatException

For input string quot;version=quot;1.0quot; etc.

   Shouldn't the msg below be accepted with no issues from the engine
  


  

?? What is it missing?

Thanks much



?xml version=1.0 encoding=UTF-8?soapenv:Envelope 
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema; 


  

xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;soapenv:Bodyns1
  
:getBundlesResponse 
  

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


  
xmlns:ns1=http://soapobject.bundle.knopflerfish.org;getBundlesReturn 
  
  

soapenc:arrayType=xsd:long[24] xsi:type=soapenc:Array 


  

xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;getBundlesRet
  
urn 
  

href=#id0/getBundlesReturn href=#id1/getBundlesReturn 
href=#id2/getBundlesReturn href=#id3/getBundlesReturn 
href=#id4/getBundlesReturn href=#id5/getBundlesReturn 
href=#id6/getBundlesReturn href=#id7/getBundlesReturn 
href=#id8/getBundlesReturn href=#id9/getBundlesReturn 
href=#id10/getBundlesReturn href=#id11/getBundlesReturn 
href=#id12/getBundlesReturn href=#id13/getBundlesReturn 
href=#id14/getBundlesReturn href=#id15/getBundlesReturn 
href=#id16/getBundlesReturn href=#id17/getBundlesReturn 
href=#id18/getBundlesReturn href=#id19/getBundlesReturn 
href=#id20/getBundlesReturn href=#id21/getBundlesReturn 
href=#id22/getBundlesReturn 
href=#id23//getBundlesReturn/ns1:getBundlesResponsemultiRef 
id=id12 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 


  

xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;18/multiRef
  
multiRef 
  

id=id22 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 


  

xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;22/multiRef
  
multiRef

Re: SOAP response

2007-06-21 Thread Demetris G


I am sending the message out as a string with (first) and then without 
LF/CR and
either way it is stuck. I am not sure what else it needs since this 
should be
straight forward - the Axis server gives this, then we feed it back into 
the client

socket. What am I missing ? Any Axis developers have any ideas ? I am using
Axis 1.4.

One interesting thing that I noticed is that the generated client SOAP 
message

is HTTP/1.0 and the SOAP response is HTTP/1.1. These are the same engines
for crying out loud, so why would the HTTP versions be different ? Is the
WSDL2Java the issue ?

Thanks much

Walker, Jeff wrote:

Is it the client that is stalling?
Then I would guess it is waiting for the correct terminating character.
(Is there some terminator that the http protocol uses to end a
response??) When I emailed the request/response http headers, I used
tcpmon to capture them, and that may have stripped off any terminating
character, so I can't see it.

Can you turn on your debugger and step through the code and see if the
client is stalled waiting for the response to complete?
-jeff


 


-Original Message-
From: Demetris G [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 21, 2007 1:51 PM

To: axis-user@ws.apache.org
Subject: Re: SOAP response


Hi Jeff,

yes you are absolutely right - I took a look at the 
axis.transport.http.HTTPSender

and the code expects the headers. So on the server side I got the header

from the
post object and fed them back into the client engine. That took care of 
the number
format issue - now it is just stalling without complaining. Hmm .. I 
wonder what else

it needs.

Thanks again man

Walker, Jeff wrote:
  

Hi Demetris,
I'm using Axis 1.3, but these are the HTTP headers that my requests


tend
  

to have:

POST /axis/services/ExampleAxisService HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related,
text/*
User-Agent: Axis/1.3
Host: 127.0.0.1:1234
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: 
Content-Length: 445

?xml version=1.0 encoding=UTF-8?soapenv:Envelope ...

And these are the ones on the response:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=09876Jeffrey; Domain=pag; Expires=Thu,
21-Jun-2007 15:31:07 GMT
Content-Type: text/xml;charset=utf-8
Date: Thu, 21 Jun 2007 12:44:27 GMT
Connection: close

?xml version=1.0 encoding=utf-8?soapenv:Envelope ...


Obviously, you can change the SOAPAction and a few of the others, but
the answer I believe is yes, the HTTP headers do matter in web


services
  

that go over the http protocol.
-jeff



 


-Original Message-
From: Demetris G [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 20, 2007 8:00 PM

To: Demetris G
Cc: axis-user@ws.apache.org
Subject: Re: SOAP response


Hi again,

I didn't get a response for the simple issue below so I am trying 
again. I intercept the
response from a legitimate SOAP call to a remote Axis container and I 
return it back

to the client by simply feeding it into the socket that the client


wrote
  

the HTTP bundle
to. Shouldn't this work ? what I am missing ? Is the client side 
excepting to see HTTP

headers etc and not just the SOAP response ? I will appreciate any


ideas
  

on this.

Thanks

Demetris G wrote:
  


Hi all,

   I am manually feeding the following SOAP response into an Axis 
engine that requested
this through a SOAP message and Axis responds with a 
java.lang.NumberFormatException

For input string quot;version=quot;1.0quot; etc.

   Shouldn't the msg below be accepted with no issues from the engine
  


  

?? What is it missing?

Thanks much



?xml version=1.0 encoding=UTF-8?soapenv:Envelope 
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema; 


  

xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;soapenv:Bodyns1
  
:getBundlesResponse 
  

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


  
xmlns:ns1=http://soapobject.bundle.knopflerfish.org;getBundlesReturn 
  
  

soapenc:arrayType=xsd:long[24] xsi:type=soapenc:Array 


  

xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;getBundlesRet
  
urn 
  

href=#id0/getBundlesReturn href=#id1/getBundlesReturn 
href=#id2/getBundlesReturn href=#id3/getBundlesReturn 
href=#id4/getBundlesReturn href=#id5/getBundlesReturn 
href=#id6/getBundlesReturn href=#id7/getBundlesReturn 
href=#id8/getBundlesReturn href=#id9/getBundlesReturn 
href=#id10/getBundlesReturn href=#id11/getBundlesReturn 
href=#id12/getBundlesReturn href=#id13/getBundlesReturn 
href=#id14/getBundlesReturn href=#id15/getBundlesReturn 
href=#id16/getBundlesReturn href=#id17/getBundlesReturn 
href=#id18/getBundlesReturn href=#id19/getBundlesReturn 
href=#id20/getBundlesReturn href=#id21/getBundlesReturn 
href=#id22/getBundlesReturn 
href=#id23//getBundlesReturn/ns1:getBundlesResponsemultiRef 
id=id12 soapenc:root=0

Re: SOAP response

2007-06-21 Thread Demetris G


One thing I noticed is that if I kill the server response process that 
is forwarding the SOAP
response to the client, the client spits out the message that there was 
a SAX Parser
exception - Content cannot be in trailing section ?? That makes no sense 
- here is the
complete response that is very similar to Jeff's - to make this a bit 
readable I am showing

only part of the soap body:

HTTP/1.1 200 OK
MIME-Version: 1.0
Content-Type: text/xml; charset=utf-8
Server: The Knopflerfish HTTP Server
Connection: Close
Date: Thu, 21 Jun 2007 20:31:44 GMT

?xml version=1.0 encoding=UTF-8?soapenv:Envelope 
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;soapenv:Bodyns1:getBundlesResponse 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xmlns:ns1=http://soapobject.bundle.knopflerfish.org;getBundlesReturn 
soapenc:arrayType=xsd:long[24] xsi:type=soapenc:Array

...
/soapenv:Body/soapenv:Envelope

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



SOAP response

2007-06-20 Thread Demetris G


Hi all,

   I am manually feeding the following SOAP response into an Axis 
engine that requested
this through a SOAP message and Axis responds with a 
java.lang.NumberFormatException

For input string quot;version=quot;1.0quot; etc.

   Shouldn't the msg below be accepted with no issues from the engine 
?? What is it missing?


Thanks much



?xml version=1.0 encoding=UTF-8?soapenv:Envelope 
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;soapenv:Bodyns1:getBundlesResponse 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xmlns:ns1=http://soapobject.bundle.knopflerfish.org;getBundlesReturn 
soapenc:arrayType=xsd:long[24] xsi:type=soapenc:Array 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;getBundlesReturn 
href=#id0/getBundlesReturn href=#id1/getBundlesReturn 
href=#id2/getBundlesReturn href=#id3/getBundlesReturn 
href=#id4/getBundlesReturn href=#id5/getBundlesReturn 
href=#id6/getBundlesReturn href=#id7/getBundlesReturn 
href=#id8/getBundlesReturn href=#id9/getBundlesReturn 
href=#id10/getBundlesReturn href=#id11/getBundlesReturn 
href=#id12/getBundlesReturn href=#id13/getBundlesReturn 
href=#id14/getBundlesReturn href=#id15/getBundlesReturn 
href=#id16/getBundlesReturn href=#id17/getBundlesReturn 
href=#id18/getBundlesReturn href=#id19/getBundlesReturn 
href=#id20/getBundlesReturn href=#id21/getBundlesReturn 
href=#id22/getBundlesReturn 
href=#id23//getBundlesReturn/ns1:getBundlesResponsemultiRef 
id=id12 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;18/multiRefmultiRef 
id=id22 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;22/multiRefmultiRef 
id=id17 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;23/multiRefmultiRef 
id=id14 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;13/multiRefmultiRef 
id=id18 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;17/multiRefmultiRef 
id=id16 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;12/multiRefmultiRef 
id=id20 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;6/multiRefmultiRef 
id=id9 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;20/multiRefmultiRef 
id=id23 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;3/multiRefmultiRef 
id=id3 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;11/multiRefmultiRef 
id=id15 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;10/multiRefmultiRef 
id=id21 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;7/multiRefmultiRef 
id=id1 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;4/multiRefmultiRef 
id=id2 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;14/multiRefmultiRef 
id=id11 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;19/multiRefmultiRef 
id=id8 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;21/multiRefmultiRef 
id=id5 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;9/multiRefmultiRef 
id=id0 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;5/multiRefmultiRef 
id=id4 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 

Re: SOAP response

2007-06-20 Thread Demetris G


Hi again,

   I didn't get a response for the simple issue below so I am trying 
again. I intercept the
response from a legitimate SOAP call to a remote Axis container and I 
return it back
to the client by simply feeding it into the socket that the client wrote 
the HTTP bundle
to. Shouldn't this work ? what I am missing ? Is the client side 
excepting to see HTTP
headers etc and not just the SOAP response ? I will appreciate any ideas 
on this.


Thanks

Demetris G wrote:


Hi all,

   I am manually feeding the following SOAP response into an Axis 
engine that requested
this through a SOAP message and Axis responds with a 
java.lang.NumberFormatException

For input string quot;version=quot;1.0quot; etc.

   Shouldn't the msg below be accepted with no issues from the engine 
?? What is it missing?


Thanks much



?xml version=1.0 encoding=UTF-8?soapenv:Envelope 
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;soapenv:Bodyns1:getBundlesResponse 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xmlns:ns1=http://soapobject.bundle.knopflerfish.org;getBundlesReturn 
soapenc:arrayType=xsd:long[24] xsi:type=soapenc:Array 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;getBundlesReturn 
href=#id0/getBundlesReturn href=#id1/getBundlesReturn 
href=#id2/getBundlesReturn href=#id3/getBundlesReturn 
href=#id4/getBundlesReturn href=#id5/getBundlesReturn 
href=#id6/getBundlesReturn href=#id7/getBundlesReturn 
href=#id8/getBundlesReturn href=#id9/getBundlesReturn 
href=#id10/getBundlesReturn href=#id11/getBundlesReturn 
href=#id12/getBundlesReturn href=#id13/getBundlesReturn 
href=#id14/getBundlesReturn href=#id15/getBundlesReturn 
href=#id16/getBundlesReturn href=#id17/getBundlesReturn 
href=#id18/getBundlesReturn href=#id19/getBundlesReturn 
href=#id20/getBundlesReturn href=#id21/getBundlesReturn 
href=#id22/getBundlesReturn 
href=#id23//getBundlesReturn/ns1:getBundlesResponsemultiRef 
id=id12 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;18/multiRefmultiRef 
id=id22 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;22/multiRefmultiRef 
id=id17 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;23/multiRefmultiRef 
id=id14 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;13/multiRefmultiRef 
id=id18 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;17/multiRefmultiRef 
id=id16 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;12/multiRefmultiRef 
id=id20 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;6/multiRefmultiRef 
id=id9 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;20/multiRefmultiRef 
id=id23 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;3/multiRefmultiRef 
id=id3 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;11/multiRefmultiRef 
id=id15 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;10/multiRefmultiRef 
id=id21 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;7/multiRefmultiRef 
id=id1 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;4/multiRefmultiRef 
id=id2 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;14/multiRefmultiRef 
id=id11 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;19/multiRefmultiRef 
id=id8 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:long 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;21

SOAP and WSDL

2007-06-16 Thread Demetris G


Hey all,

   just a silly Q - to retrieve a WSDL from an Axis engine I used HTTP GET
and for the SOAP an HTTP POST. Can these be used interchangeably ?

Thanks





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



Re: SOAP and WSDL

2007-06-16 Thread Demetris G


Excellent - thanks Martin.

Martin Gainty wrote:
look for binding specification in your wsdl make the entry for 
verb=GET or verb=POST

example

binding name=SalesRankNPriceHttpGet type=s0:SalesRankNPriceHttpGet
http:binding verb=GET/

Martin--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please 
notify

the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

- Original Message - From: Demetris G [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Saturday, June 16, 2007 5:16 PM
Subject: SOAP and WSDL




Hey all,

   just a silly Q - to retrieve a WSDL from an Axis engine I used 
HTTP GET

and for the SOAP an HTTP POST. Can these be used interchangeably ?

Thanks





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





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




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



Re: SOAP and WSDL

2007-06-16 Thread Demetris G


But for sending plain URLs to an engine to retrieve the WSDL I am 
assuming GET

will do ?

Martin Gainty wrote:
look for binding specification in your wsdl make the entry for 
verb=GET or verb=POST

example

binding name=SalesRankNPriceHttpGet type=s0:SalesRankNPriceHttpGet
http:binding verb=GET/

Martin--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please 
notify

the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

- Original Message - From: Demetris G [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Saturday, June 16, 2007 5:16 PM
Subject: SOAP and WSDL




Hey all,

   just a silly Q - to retrieve a WSDL from an Axis engine I used 
HTTP GET

and for the SOAP an HTTP POST. Can these be used interchangeably ?

Thanks





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





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




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



  1   2   >