WSN implementation in C++ in Axis?

2006-10-24 Thread Nilesh Gujarathi

Hi

Would I get the WSN implementation in C++ from Apache? Is it present in Axus 
or should work with Axis.

I looked at Pubscribe but it seems to available only in Java, is it?

Thanks in advance
-Nilesh

_
Sexy, sultry, sensuous. - see why Bipasha Basu is all that and more. Try MSN 
Search http://server1.msn.co.in/Profile/bipashabasu.asp



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



RE: [Axis2]MessageContext

2006-10-24 Thread Smirnova, Natalya
Hi,

I know I can not set Message Context directly on the client side.
My issue is: 

I wrote on the client side:
/**
 * Proxy setting in runtime
 */
HttpTransportProperties.ProxyProperties proxyproperties = new
HttpTransportProperties().new ProxyProperties();
proxyproperties.setProxyName(localhost);
proxyproperties.setProxyPort(8080);
proxyproperties.setPassWord(user1);
proxyproperties.setUserName(user1);

Options options = new Options();
options.setProperty(HTTPConstants.PROXY, proxyproperties);
options.setTo(targetEPR);
options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
ServiceClient sender = new ServiceClient();
sender.setOptions(options);

OMElement result = sender.sendReceive(payload);

And I wrote handler on service side:

public class AcegiBridgeAuthenticationHandler extends AbstractHandler {

public void invoke(MessageContext msgContext) throws AxisFault {

   Options options = msgContext.getOptions();
HttpTransportProperties.ProxyProperties proxyproperties = 
 
(HttpTransportProperties.ProxyProperties)msgContext.getProperty(HTTPCons
tants.PROXY);
HttpTransportProperties.ProxyProperties proxyproperties = 
 
(HttpTransportProperties.ProxyProperties)propertyMap.get(HTTPConstants.P
ROXY);
String user = proxyproperties.getUserName();
String pass = proxyproperties.getPassWord();


 
But I get error in two last lines: my user name and password is null

What is wrong?
I try to download nightly build, but resource is not available today. 


Best regards,Natalya Smirnova.
MERA NN /EMA/custom software


-Original Message-
From: Eran Chinthaka [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 24, 2006 8:31 AM
To: axis-user@ws.apache.org
Subject: Re: [Axis2]MessageContext

Options you set to message context in the client side will not be
available to you in the server side. But if you can get hold to some of
the HTTP transport properties, by retrieving them from the options.

If you wanna send some props from client side, you might wanna consider
putting them as headers in the request SOAP message.

-- Chinthaka

Smirnova, Natalya wrote:
 Hi, 
 Thank you for your advance. 
 But my MessageContext in my handler is still empty :-(. 
 I simple add some property to Options object on client side, set this
 option to sender and send.
 MessageContext does not contain my property. 
 
 
 Best regards,Natalya Smirnova.
 MERA NN /EMA/custom software
 
 
 -Original Message-
 From: robert lazarski [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, October 21, 2006 12:21 AM
 To: axis-user@ws.apache.org
 Subject: Re: [Axis2]MessageContext
 
 First of all, try a nightly as the new release is almost ready, as
 there were problems here since fixed:
 
 http://people.apache.org/dist/axis2/nightly/axis2-1.1-SNAPSHOT.war
 http://people.apache.org/dist/axis2/nightly/axis2-1.1-SNAPSHOT.zip
 
 Looks like the current way the client sends out basic auth info is the
 following - change to match your env:
 
 OMElement payload = TestingUtils.createDummyOMElement();
 /**
  * Proxy setting in runtime
  */
 HttpTransportProperties.ProxyProperties proxyproperties = new
 HttpTransportProperties.ProxyProperties();
 proxyproperties.setProxyName(localhost);
 proxyproperties.setProxyPort();
 proxyproperties.setDomain(anonymous);
 proxyproperties.setPassWord(anonymous);
 proxyproperties.setUserName(anonymous);
 
 Options options = new Options();
 options.setProperty(HTTPConstants.PROXY, proxyproperties);
 options.setTo(targetEPR);
 options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
 ServiceClient sender = new ServiceClient();
 sender.setOptions(options);
 
 OMElement result = sender.sendReceive(payload);
 
 Since these params are probably in the http headers, you'll probably
 need a handler to access them. The following code example is from axis
 1.x but is close enough to start with -
 HTTPConstants.HEADER_AUTHORIZATION is still there, for example:
 

http://koders.com/java/fidDCB769581B5FB55A16B0B191DEB229F79B8CB9E2.aspx
 
 See the migration guide for getting the above handler to work in
axis2:
 

http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/xdocs/1_1/m
 igration.html
 
 HTH,
 Robert
 
 On 10/20/06, Smirnova, Natalya [EMAIL PROTECTED] wrote:



 Hi,



 How I can get user name and password from MessageContext class
object?

 I use Axis2 release 1.0.  I write custom module and handler. It work
 correctly.

 On client side I set username and password into options properties
and
 send.


 Options options = new Options();

 options.setTransportInProtocol(Constants.TRANSPORT_HTTP);



 HttpTransportProperties.ProxyProperties
 basicAuthentication = new HttpTransportProperties().new
 ProxyProperties();
 

[Axis2]Header in soap envelope

2006-10-24 Thread Smirnova, Natalya








Hi,



How I can set some information (username and password,
for example) in header of soap message envelope on client side and get this
information on service side (in handler)

Would you be so kind to share some pieces of code, please?





Best regards,Natalya
 Smirnova.

MERA NN /EMA/custom software










Re: unsubscribe

2006-10-24 Thread Kees de Kooter

unsubscribe

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



[Axis2] Axis2 transaction support, suggestion needed

2006-10-24 Thread falom falom
Hi,I'mdrafting a WS system requirement, which will require high transaction abilities: distributed, atomic, nested transactions, etc, since a lot of operations will perform against multiple database servers on different networks. Also different web services will probably be located in defferent app servers as well.Current kandula2 is still under construction i guess. So any idea which approach i should use to solve this transaction issue. I know there is JBossTransaction available, but not sure if it is a good idea to use that since JBoss is not planned to be the app server.falom 
		抢注雅虎免费邮箱-3.5G容量,20M附件! 

Use of Axis 1.1 and JWSDP 1.6: generated Java-Classes

2006-10-24 Thread thomas . schmitz

Hello,

I've got some problems with generated Java Classes using WSDL2Java.
I use the APIs mentioned in the mail-topic.

But the generated stub-classes have errors, because there are
import-statements for
org.apache.axis.constants. Axis 1.1 doesn't have this package, but the same
classes are located
in the package org.apache.axis.enum. How can I fix this?

Can I change the import-statement manually in the generated stub-classes or
can I replace the axis.jar with a newer one , which have the
constant-packgae, or
do I have to upgrade Axis to 1.3 /1.4 completely? Any solutions?

Thanks for your help.

Best regards
Thomas Schmitz


___

Thomas Schmitz
AMB Generali Informatik Services GmbH
SW-t
Anton-Kurze-Allee 16
52064 Aachen

Telefon: 0241-461-6253

mailto:[EMAIL PROTECTED]
http://www.amb-informatik.de


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



Re: [Axis2]Header in soap envelope

2006-10-24 Thread Eran Chinthaka
Smirnova, Natalya wrote:
 
 
 Hi,
 
  
 
 How I can set some information (username and password, for example) in
 header of soap message envelope on client side and get this information
 on service side (in handler)
 
 Would you be so kind to share some pieces of code, please?

Create your SOAP Headers as OMElements.Add them one by one using
ServiceClient api.

ServiceClient.addHeader(OMElement).

In the server side, every handler has access to the message context. Get
access to the SOAP envelope thru the message context and you will have
all your headers with it.

SOAPEnvelope envelope = messageContext.getEnvelope();
envelope.getHeaders()


-- Chinthaka



signature.asc
Description: OpenPGP digital signature


AXIS 1.4: invoke request after web service sent response to client

2006-10-24 Thread Kestonas JoJo
Hi all,I am curious is it possible to configure AXIS server to invoke another web service as client after response is send to client.for example Transaction like:1. Client No. 1 invokes method of Axis service No. 12. Axis service No 1 responses to Client No. 13. Axis service No 1 invokes web service No. 2 as Client No. 2 4. Axis service No 1 receives response from service No. 2.5. Transaction is commited.Thanks in advance,Kestas

Re: Invoking java classes with a Perl client

2006-10-24 Thread Anne Thomas Manes

We need the WSDL to help you.

On 10/23/06, D. Kreft [EMAIL PROTECTED] wrote:

I'm stuck and endless googling is leading me to no success.

I'm trying to use Perl's SOAP::Lite to talk to an Axis web service.
I've got a new method that I want to add to my service implementation
that accepts an object as its sole argument, and what I need to do is
instantiate that object on the client, but I can't figure out how to
make it all happen.

Here's the relevant service method:

public void testTakeRequest(Request request) {
System.out.println(Request:  + request);
}

And the snippet from the deploy.wsdd:

beanMapping qname=pbqs:Request
 xmlns:pbqs=urn:Request

languageSpecificType=java:com.company.packagebuilder.request.Request
/

Here's the entirety of the Perl client:

use strict;
use warnings;

use Data::Dumper qw(Dumper);

use SOAP::Lite (dispatch_from = 'Request',
uri   = 'urn:Request',
proxy = $ENV{'PBQS_PROXY_URL'},
trace = 'debug');

my $r = Request-new();

$r-isApproved(1);

print Dumper($r);

But the problem is that I'm getting No such operation 'new' errors.
I can't figure out if I've got problems
with my namespace or what.

Here's how my request gets serialized:

Accept: text/xml
Accept: multipart/*
Accept: application/soap
Content-Length: 436
Content-Type: text/xml; charset=utf-8
SOAPAction: http://packagebuild.company.com/Request#new;

?xml version=1.0 encoding=UTF-8?soap:Envelope
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
soap:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;
xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;soap:Bodynew
xmlns=http://packagebuild.company.com/Request; xsi:nil=true
//soap:Body/soap:Envelope

I'm not sure if including the full body of my Axis-generated WSDL is
going to help, so I'll refrain from
posting that here until/unless someone asks for it.

BTW, if you're wondering why I don't e-mail the SOAP::Lite developer's
list, it's because that list appears to be pretty
much dead for all intents and purposes, so I'm hoping that one of you
might have a clue what I'm doing wrong
(other than using Perl--can't do anything about that given the huge
mass of legacy code with which I'm trying
to integrate).

-dan

-
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 1.4: invoke request after web service sent response to client

2006-10-24 Thread Martin Gainty



would be helpful if you looked at the definition 
ofatomic transactions and the principle of atomicityredesigning a web 
service that itself is a client to another web servicemay 
possiblyinvite a race condition
AxisClient1 calls AxisService1 and expects output 
from AxisService1
AxisService1 calls AxisService2 and expects output 
from AxisService2AxisService2 calls AxisService3 and expects output from 
AxisService3
AxisService3 calls AxisService1 (AxisService3 
iscontending for output for AxisService1 but so is 
AxisClient1)
therefore AxisService3 AND AxisClient1 are both vying for the same resource 
(AxisService1)
from a purelyarchitectural perspective 
this is BAD DESIGNIf you want more than 1 data item then your 
AxisSoapService should return a complex datatype which wholly contains all of 
the data points you desire

Please read this discussion of atomicity by svend 
frolund
http://www.w3.org/2001/03/WSWS-popa/paper50
Martin --
This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the designated recipients named above. 
If you are not the intended recipient, you are hereby notified that you have 
receivedthis communication in error and that any review, disclosure, 
dissemination, distribution or copying of it or its contents

  - Original Message - 
  From: 
  Kestonas JoJo 
  
  To: axis-user@ws.apache.org 
  Sent: Tuesday, October 24, 2006 6:32 
  AM
  Subject: AXIS 1.4: invoke request after 
  web service sent response to client
  
  
  Hi all,I am curious is it possible to configure AXIS server to invoke 
  another web service as client after response is send to client.for 
  example Transaction like:1. Client No. 1 invokes method of Axis 
  service No. 12. Axis service No 1 responses to Client No. 13. Axis 
  service No 1 invokes web service No. 2 as Client No. 2 4. Axis 
  service No 1 receives response from service No. 2.5. Transaction is 
  commited.Thanks in 
advance,Kestas


Re: JMS Transport not starting

2006-10-24 Thread Asankha C. Perera




Terry

Place geronimo-spec-jms-1.1-rc4.jar or an equivalent as well on the
Tomcat lib - seems like a difference in standalone and war dists - and
I will update the docs to include this as well. Once you do this you
will get through the initial error you have mentioned. 

However you will need to wait for
http://issues.apache.org/jira/browse/AXIS2-1488 to actually start JMS
from a WAR dist. This is a very tiny modification, and Deepal will
check in the changes ASAP and should be available with the 1.1 RC2 or
nightly builds soon

asankha


Terry wrote:

  Yes, I copied all the libraries listed in the docs. Conf file attached...

Thanks

Terry


asankha wrote:
  
  
Hi Terry

Could you send me your axis2.xml Also I am assuming that you have copied 
the relevant dependencies/jars into your tomcat lib folder

asankha



  
  http://www.nabble.com/file/3809/axis2.xml axis2.xml 
  




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



AW: AXIS 1.4: invoke request after web service sent response to client

2006-10-24 Thread Stadelmann Josef



Are you saying that the architectural concept of having a 
CLIENTgoing to anAGENTpassing on to 
aSERVER is bad? :-/
In my mind an AGENT is two-fold as described by .-1
what all about is the then CORBA? :-)
Josef Stadelmann

  -Ursprüngliche Nachricht-Von: Martin Gainty 
  [mailto:[EMAIL PROTECTED]Gesendet: Dienstag, 24. Oktober 2006 
  13:24An: axis-user@ws.apache.orgBetreff: Re: AXIS 1.4: 
  invoke request after web service sent response to client
  would be helpful if you looked at the definition 
  ofatomic transactions and the principle of atomicityredesigning a 
  web service that itself is a client to another web servicemay 
  possiblyinvite a race condition
  AxisClient1 calls AxisService1 and expects output 
  from AxisService1
  AxisService1 calls AxisService2 and expects 
  output from AxisService2AxisService2 calls AxisService3 and expects output 
  from AxisService3
  AxisService3 calls AxisService1 (AxisService3 
  iscontending for output for AxisService1 but so is 
  AxisClient1)
  therefore AxisService3 AND AxisClient1 are both vying for the same resource 
  (AxisService1)
  from a purelyarchitectural perspective 
  this is BAD DESIGNIf you want more than 1 data item then your 
  AxisSoapService should return a complex datatype which wholly contains all of 
  the data points you desire
  
  Please read this discussion of atomicity by svend 
  frolund
  http://www.w3.org/2001/03/WSWS-popa/paper50
  Martin --
  This e-mail communication and any attachments may contain confidential 
  and privileged information for the use of the designated recipients named 
  above. If you are not the intended recipient, you are hereby notified that you 
  have receivedthis communication in error and that any review, disclosure, 
  dissemination, distribution or copying of it or its contents
  
- Original Message - 
From: 
Kestonas 
JoJo 
To: axis-user@ws.apache.org 
Sent: Tuesday, October 24, 2006 6:32 
AM
Subject: AXIS 1.4: invoke request after 
web service sent response to client


Hi all,I am curious is it possible to configure AXIS server to 
invoke another web service as client after response is send to 
client.for example Transaction like:1. Client No. 1 invokes 
method of Axis service No. 12. Axis service No 1 responses to Client No. 
13. Axis service No 1 invokes web service No. 2 as Client No. 2 
4. Axis service No 1 receives response from service No. 2.5. 
Transaction is commited.Thanks in 
advance,Kestas


Re: AXIS 1.4: invoke request after web service sent response to client

2006-10-24 Thread Jesús Daniel Blázquez Carazo



Have you think about the possibility of describe 
this web services chain as a BPEL?


  - Original Message - 
  From: 
  Stadelmann Josef 
  To: axis-user@ws.apache.org ; Martin Gainty 
  
  Sent: Tuesday, October 24, 2006 2:04 
  PM
  Subject: AW: AXIS 1.4: invoke request 
  after web service sent response to client
  
  Are you saying that the architectural concept of having a 
  CLIENTgoing to anAGENTpassing on to 
  aSERVER is bad? :-/
  In my mind an AGENT is two-fold as described by .-1
  what all about is the then CORBA? :-)
  Josef Stadelmann
  
-Ursprüngliche Nachricht-Von: Martin Gainty 
[mailto:[EMAIL PROTECTED]Gesendet: Dienstag, 24. Oktober 2006 
13:24An: axis-user@ws.apache.orgBetreff: 
Re: AXIS 1.4: invoke request after web service sent response to 
client
would be helpful if you looked at the 
definition ofatomic transactions and the principle of 
atomicityredesigning a web service that itself is a client to another 
web servicemay possiblyinvite a race condition
AxisClient1 calls AxisService1 and expects 
output from AxisService1
AxisService1 calls AxisService2 and expects 
output from AxisService2AxisService2 calls AxisService3 and expects 
output from AxisService3
AxisService3 calls AxisService1 (AxisService3 
iscontending for output for AxisService1 but so is 
AxisClient1)
therefore AxisService3 AND AxisClient1 are both vying for the same resource 
(AxisService1)
from a purelyarchitectural 
perspective this is BAD DESIGNIf you want more than 1 data item then 
your AxisSoapService should return a complex datatype which wholly contains 
all of the data points you desire

Please read this discussion of atomicity by 
svend frolund
http://www.w3.org/2001/03/WSWS-popa/paper50
Martin --
This e-mail communication and any attachments may contain confidential 
and privileged information for the use of the designated recipients 
named above. If you are not the intended recipient, you are hereby notified 
that you have receivedthis communication in error and that any review, 
disclosure, dissemination, distribution or copying of it or its 
contents

  - Original Message - 
  From: 
  Kestonas 
  JoJo 
  To: axis-user@ws.apache.org 
  Sent: Tuesday, October 24, 2006 6:32 
  AM
  Subject: AXIS 1.4: invoke request 
  after web service sent response to client
  
  
  Hi all,I am curious is it possible to configure AXIS server to 
  invoke another web service as client after response is send to 
  client.for example Transaction like:1. Client No. 1 
  invokes method of Axis service No. 12. Axis service No 1 responses to 
  Client No. 13. Axis service No 1 invokes web service No. 2 as 
  Client No. 2 4. Axis service No 1 receives response from service No. 
  2.5. Transaction is commited.Thanks in 
  advance,Kestas


Problems sending composite data structures

2006-10-24 Thread Daniel Goodman

HI,
I'm using axis 1.4 and the latest download of tomcat, and am trying to 
send a tree structure as soap. This has been causing me lots of 
problems, so I tried doing a simplified version of the idea, to see if I 
could locate the problem, however I can't get this to work either.


If I send just a leaf it works fine, however if I send the second 
(commented out) data structure I get the error at the end of this 
message. The soap that was sent is included after the error. After 
experimenting, I am coming to the conclusion that axis is trying to 
build abstract classes! What can I do to get round this? All the WSDL, 
serialises and the client stub where generated using the axis tools. Any 
help with sorting this would be greatly appreciated, I have included the 
all the code for this example.


Daniel

Exception in thread main AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXException: No object was found for class 
type class axisTest.Tree

faultActor:
faultNode:
faultDetail:
   {http://xml.apache.org/axis/}hostname:userpc55.comlab.ox.ac.uk

org.xml.sax.SAXException: No object was found for class type class 
axisTest.Tree
   at 
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
   at 
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
   at 
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
   at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)

   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
   at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
   at 
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)

   at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
   at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
   at 
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)

   at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
   at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
   at org.apache.axis.client.Call.invoke(Call.java:2767)
   at org.apache.axis.client.Call.invoke(Call.java:2443)
   at org.apache.axis.client.Call.invoke(Call.java:2366)
   at org.apache.axis.client.Call.invoke(Call.java:1812)
   at 
axisTest.client.AxisTestSoapBindingStub.print(AxisTestSoapBindingStub.java:161)

   at axisTest.Client.init(Client.java:20)
   at axisTest.Client.main(Client.java:10)


?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:print 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xmlns:ns1=http://axisTest;t href=#id0//ns1:printmultiRef 
id=id0 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=ns2:node 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; 
xmlns:ns2=axisTestleft href=#id1/right 
href=#id2//multiRefmultiRef id=id1 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=ns3:node xmlns:ns3=axisTest 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;left 
href=#id3/right href=#id4//multiRefmultiRef id=id2 
soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=ns4:leaf xmlns:ns4=axisTest 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;value 
xsi:type=xsd:stringC/value/multiRefmultiRef id=id3 
soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=ns5:leaf xmlns:ns5=axisTest 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;value 
xsi:type=xsd:stringA/value/multiRefmultiRef id=id4 
soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=ns6:leaf xmlns:ns6=axisTest 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;value 
xsi:type=xsd:stringB/value/multiRef/soapenv:Body/soapenv:Envelope
?xml version=1.0 encoding=UTF-8?
wsdl:definitions targetNamespace=http://localhost:8080/axis/services/AxisTest; xmlns:apachesoap=http://xml.apache.org/xml-soap; xmlns:impl=http://localhost:8080/axis/services/AxisTest; xmlns:intf=http://localhost:8080/axis/services/AxisTest; xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; xmlns:tns1=axisTest 

Re: AXIS 1.4: invoke request after web service sent response to client

2006-10-24 Thread Martin Gainty



Josef-

Having been involved with individuals who 
inadvertently introduce race conditions on either the DB or Webapp 
layerscauses meto be careful aroundjunior engineers who 
are coding SoapServices which are in fact not SOAPServices but instead 
are
dumbProxies assembling data points 
fromn number ofSOAPclients

In those particular scenarios 
You will have to haveintroduce some sort of architectural 
constraintwhere adeveloper that desires a complexDataType 
resultsetwould NOTinadvertentlyintroduce a SOAPService which is NOT a soap service per se but is a soap 
client to n number of unknown SOAP Services
but WILL return the correct complexDataType from 
SOAPService

I cannot speak in a comprehensive manner as to the 
efficacy of CORBA
butmy understanding ofCORBA states that 
CORBA supports marshalling discrete elements of known datatype from client thru 
IIOP to to ORB implementorWhether you are using CORBA or I am using RPC 
it seems that we both are using 2 differing implementations of the same concept 
that isSomeClientRequestsDatatype - 
DeliversRequestViaSomeTransportSpecificDatatype 
-ServerAcknowledgesRequestAndAcksWithRequestedDataPoint

Perhaps you can shed some light on how CORBA could 
be used in this scenario?
Martin-
This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the designated recipients named above. 
If you are not the intended recipient, you are hereby notified that you have 
receivedthis communication in error and that any review, disclosure, 
dissemination, distribution or copying of it or its contents

  - Original Message - 
  From: 
  Stadelmann Josef 
  To: axis-user@ws.apache.org ; Martin Gainty 
  
  Sent: Tuesday, October 24, 2006 8:04 
  AM
  Subject: AW: AXIS 1.4: invoke request 
  after web service sent response to client
  
  Are you saying that the architectural concept of having a 
  CLIENTgoing to anAGENTpassing on to 
  aSERVER is bad? :-/
  In my mind an AGENT is two-fold as described by .-1
  what all about is the then CORBA? :-)
  Josef Stadelmann
  
-Ursprüngliche Nachricht-Von: Martin Gainty 
[mailto:[EMAIL PROTECTED]Gesendet: Dienstag, 24. Oktober 2006 
13:24An: axis-user@ws.apache.orgBetreff: 
Re: AXIS 1.4: invoke request after web service sent response to 
client
would be helpful if you looked at the 
definition ofatomic transactions and the principle of 
atomicityredesigning a web service that itself is a client to another 
web servicemay possiblyinvite a race condition
AxisClient1 calls AxisService1 and expects 
output from AxisService1
AxisService1 calls AxisService2 and expects 
output from AxisService2AxisService2 calls AxisService3 and expects 
output from AxisService3
AxisService3 calls AxisService1 (AxisService3 
iscontending for output for AxisService1 but so is 
AxisClient1)
therefore AxisService3 AND AxisClient1 are both vying for the same resource 
(AxisService1)
from a purelyarchitectural 
perspective this is BAD DESIGNIf you want more than 1 data item then 
your AxisSoapService should return a complex datatype which wholly contains 
all of the data points you desire

Please read this discussion of atomicity by 
svend frolund
http://www.w3.org/2001/03/WSWS-popa/paper50
Martin --
This e-mail communication and any attachments may contain confidential 
and privileged information for the use of the designated recipients 
named above. If you are not the intended recipient, you are hereby notified 
that you have receivedthis communication in error and that any review, 
disclosure, dissemination, distribution or copying of it or its 
contents

  - Original Message - 
  From: 
  Kestonas 
  JoJo 
  To: axis-user@ws.apache.org 
  Sent: Tuesday, October 24, 2006 6:32 
  AM
  Subject: AXIS 1.4: invoke request 
  after web service sent response to client
  
  
  Hi all,I am curious is it possible to configure AXIS server to 
  invoke another web service as client after response is send to 
  client.for example Transaction like:1. Client No. 1 
  invokes method of Axis service No. 12. Axis service No 1 responses to 
  Client No. 13. Axis service No 1 invokes web service No. 2 as 
  Client No. 2 4. Axis service No 1 receives response from service No. 
  2.5. Transaction is commited.Thanks in 
  advance,Kestas


memory leak in my web service

2006-10-24 Thread xu cai
hi all, I got a memory leak issue. The web services is deployed over Axis1.4/Tomcat, the services is used to query database. 

If the client send request in a while loop, the server will run out of memory in 2 or 3 hours.

I use jprofiler to monitor the memory,and cant' find something wired. I even can't know which part of memory is growing so fast. 

can anybody give me a clue ?
-thanks

-jeff


AW: AXIS 1.4: invoke request after web service sent response to client

2006-10-24 Thread Stadelmann Josef



Can you please explain me what a BPEL is (Business Process Engineering 
Language)? What is it in your terms?
Josef

  -Ursprüngliche Nachricht-Von: Jesús Daniel Blázquez 
  Carazo [mailto:[EMAIL PROTECTED]Gesendet: Dienstag, 24. 
  Oktober 2006 14:37An: axis-user@ws.apache.orgBetreff: 
  Re: AXIS 1.4: invoke request after web service sent response to 
  client
  Have you think about the possibility of describe 
  this web services chain as a BPEL?
  
  
- Original Message - 
From: 
Stadelmann Josef 
To: axis-user@ws.apache.org ; Martin 
Gainty 
Sent: Tuesday, October 24, 2006 2:04 
PM
Subject: AW: AXIS 1.4: invoke request 
after web service sent response to client

Are you saying that the architectural concept of having a 
CLIENTgoing to anAGENTpassing on to 
aSERVER is bad? :-/
In my mind an AGENT is two-fold as described by 
.-1
what all about is the then CORBA? :-)
Josef Stadelmann

  -Ursprüngliche Nachricht-Von: Martin Gainty 
  [mailto:[EMAIL PROTECTED]Gesendet: Dienstag, 24. Oktober 
  2006 13:24An: axis-user@ws.apache.orgBetreff: 
  Re: AXIS 1.4: invoke request after web service sent response to 
  client
  would be helpful if you looked at the 
  definition ofatomic transactions and the principle of 
  atomicityredesigning a web service that itself is a client to another 
  web servicemay possiblyinvite a race condition
  AxisClient1 calls AxisService1 and expects 
  output from AxisService1
  AxisService1 calls AxisService2 and expects 
  output from AxisService2AxisService2 calls AxisService3 and expects 
  output from AxisService3
  AxisService3 calls AxisService1 (AxisService3 
  iscontending for output for AxisService1 but so is 
  AxisClient1)
  therefore AxisService3 AND AxisClient1 are both vying for the same resource 
  (AxisService1)
  from a purelyarchitectural 
  perspective this is BAD DESIGNIf you want more than 1 data item then 
  your AxisSoapService should return a complex datatype which wholly 
  contains all of the data points you desire
  
  Please read this discussion of atomicity by 
  svend frolund
  http://www.w3.org/2001/03/WSWS-popa/paper50
  Martin --
  This e-mail communication and any attachments may contain 
  confidential and privileged information for the use of the designated 
  recipients named above. If you are not the intended recipient, you are 
  hereby notified that you have receivedthis communication in error and 
  that any review, disclosure, dissemination, distribution or copying of it 
  or its contents
  
- Original Message - 
From: 
Kestonas 
JoJo 
To: axis-user@ws.apache.org 
Sent: Tuesday, October 24, 2006 
6:32 AM
Subject: AXIS 1.4: invoke request 
after web service sent response to client


Hi all,I am curious is it possible to configure AXIS server to 
invoke another web service as client after response is send to 
client.for example Transaction like:1. Client No. 1 
invokes method of Axis service No. 12. Axis service No 1 responses 
to Client No. 13. Axis service No 1 invokes web service No. 2 
as Client No. 2 4. Axis service No 1 receives response from service 
No. 2.5. Transaction is commited.Thanks in 
advance,Kestas


RE: memory leak in my web service

2006-10-24 Thread Willem Liu



Hi,

When programming in Java for Linux like environments I've 
came accros the same thing. The same program would run perfectly under Windows, 
but would give a memory problem under Linux. I've eventually solved this by 
calling the Garbage Collector manually and periodically. It seems 
that the JVM under Linux environments doesn't automatically do this 
well.
I don't know wether this will solve your problem as well, 
but I guess it's worth a try.

Regards,

Willem


From: xu cai [mailto:[EMAIL PROTECTED] 
Sent: dinsdag 24 oktober 2006 15:15To: 
axis-user@ws.apache.orgSubject: memory leak in my web 
service

hi all, I got a memory leak issue. The web services is deployed over 
Axis1.4/Tomcat, the services is used to query database. 

If the client send request in a while loop, the server will run out of 
memory in 2 or 3 hours.

I use jprofiler to monitor the memory,and cant' find something wired. I 
even can't know which part of memory is growing so fast. 

can anybody give me a clue ?
-thanks

-jeff


Re: memory leak in my web service

2006-10-24 Thread Martin Gainty



hard to make an intelligentcall without 
seeing your client codeMartin --
This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the designated recipients named above. 
If you are not the intended recipient, you are hereby notified that you have 
receivedthis communication in error and that any review, disclosure, 
dissemination, distribution or copying of it or its conte

  - Original Message - 
  From: 
  xu cai 
  
  To: axis-user@ws.apache.org 
  Sent: Tuesday, October 24, 2006 9:15 
  AM
  Subject: memory leak in my web 
  service
  
  hi all, I got a memory leak issue. The web services is deployed over 
  Axis1.4/Tomcat, the services is used to query database. 
  
  If the client send request in a while loop, the server will run out of 
  memory in 2 or 3 hours.
  
  I use jprofiler to monitor the memory,and cant' find something wired. I 
  even can't know which part of memory is growing so fast. 
  
  can anybody give me a clue ?
  -thanks
  
  -jeff


Re: memory leak in my web service

2006-10-24 Thread xu cai
thanks your reply, I can have a try, not it's not recommended in our product. :-)

-jeff
On 10/24/06, Willem Liu [EMAIL PROTECTED] wrote:


Hi,

When programming in Java for Linux like environments I've came accros the same thing. The same program would run perfectly under Windows, but would give a memory problem under Linux. I've eventually solved this by calling the Garbage 
Collector manually and periodically. It seems that the JVM under Linux environments doesn't automatically do this well.
I don't know wether this will solve your problem as well, but I guess it's worth a try.

Regards,

Willem


From: xu cai [mailto:[EMAIL PROTECTED]] Sent: dinsdag 24 oktober 2006 15:15
To: axis-user@ws.apache.orgSubject: memory leak in my web service



hi all, I got a memory leak issue. The web services is deployed over Axis1.4/Tomcat, the services is used to query database. 

If the client send request in a while loop, the server will run out of memory in 2 or 3 hours.

I use jprofiler to monitor the memory,and cant' find something wired. I even can't know which part of memory is growing so fast. 

can anybody give me a clue ?
-thanks

-jeff-- - xucai 


Re: memory leak in my web service

2006-10-24 Thread xu cai
I can paste client side code tomorrow, 

but client side is simple, just send the same request in a endless while loop. 

So each time, server should do the same job, but memory growp fast.

-jeffrey.
On 10/24/06, Martin Gainty [EMAIL PROTECTED] wrote:


hard to make an intelligentcall without seeing your client codeMartin --
This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its conte

- Original Message - 
From: xu cai 
To: axis-user@ws.apache.org 

Sent: Tuesday, October 24, 2006 9:15 AM
Subject: memory leak in my web service


hi all, I got a memory leak issue. The web services is deployed over Axis1.4/Tomcat, the services is used to query database. 

If the client send request in a while loop, the server will run out of memory in 2 or 3 hours.

I use jprofiler to monitor the memory,and cant' find something wired. I even can't know which part of memory is growing so fast. 

can anybody give me a clue ?
-thanks

-jeff-- - xucai 


Re: AXIS 1.4: invoke request after web service sent response to client

2006-10-24 Thread Jesús Daniel Blázquez Carazo



A BPEL is a web service workflow. You can design a 
BPEL to invoke a web service chain, deploy it in a BPEL engine to execute the 
process.

In this way the first web service pass its result 
to the second web service ... 

  - Original Message - 
  From: 
  Stadelmann Josef 
  To: axis-user@ws.apache.org 
  Sent: Tuesday, October 24, 2006 3:32 
  PM
  Subject: AW: AXIS 1.4: invoke request 
  after web service sent response to client
  
  Can you please explain me what a BPEL is (Business Process Engineering 
  Language)? What is it in your terms?
  Josef
  
-Ursprüngliche Nachricht-Von: Jesús Daniel 
Blázquez Carazo [mailto:[EMAIL PROTECTED]Gesendet: 
Dienstag, 24. Oktober 2006 14:37An: axis-user@ws.apache.orgBetreff: 
Re: AXIS 1.4: invoke request after web service sent response to 
client
Have you think about the possibility of 
describe this web services chain as a BPEL?


  - Original Message - 
  From: 
  Stadelmann Josef 
  To: axis-user@ws.apache.org ; Martin 
  Gainty 
  Sent: Tuesday, October 24, 2006 2:04 
  PM
  Subject: AW: AXIS 1.4: invoke request 
  after web service sent response to client
  
  Are you saying that the architectural concept of having a 
  CLIENTgoing to anAGENTpassing on to 
  aSERVER is bad? :-/
  In my mind an AGENT is two-fold as described by 
  .-1
  what all about is the then CORBA? :-)
  Josef Stadelmann
  
-Ursprüngliche Nachricht-Von: Martin Gainty 
[mailto:[EMAIL PROTECTED]Gesendet: Dienstag, 24. Oktober 
2006 13:24An: axis-user@ws.apache.orgBetreff: 
Re: AXIS 1.4: invoke request after web service sent response to 
client
would be helpful if you looked at the 
definition ofatomic transactions and the principle of 
atomicityredesigning a web service that itself is a client to 
another web servicemay possiblyinvite a race 
condition
AxisClient1 calls AxisService1 and expects 
output from AxisService1
AxisService1 calls AxisService2 and expects 
output from AxisService2AxisService2 calls AxisService3 and expects 
output from AxisService3
AxisService3 calls AxisService1 
(AxisService3 iscontending for output for AxisService1 but so is 
AxisClient1)
therefore AxisService3 AND AxisClient1 are both vying for the same resource 
(AxisService1)
from a purelyarchitectural 
perspective this is BAD DESIGNIf you want more than 1 data item then 
your AxisSoapService should return a complex datatype which wholly 
contains all of the data points you desire

Please read this discussion of atomicity by 
svend frolund
http://www.w3.org/2001/03/WSWS-popa/paper50
Martin --
This e-mail communication and any attachments may contain 
confidential and privileged information for the use of the 
designated recipients named above. If you are not the intended 
recipient, you are hereby notified that you have receivedthis 
communication in error and that any review, disclosure, dissemination, 
distribution or copying of it or its contents

  - Original Message - 
  From: 
  Kestonas 
  JoJo 
  To: axis-user@ws.apache.org 
  
  Sent: Tuesday, October 24, 2006 
  6:32 AM
  Subject: AXIS 1.4: invoke request 
  after web service sent response to client
  
  
  Hi all,I am curious is it possible to configure AXIS server 
  to invoke another web service as client after response is send to 
  client.for example Transaction like:1. Client No. 1 
  invokes method of Axis service No. 12. Axis service No 1 responses 
  to Client No. 13. Axis service No 1 invokes web service No. 
  2 as Client No. 2 4. Axis service No 1 receives response from 
  service No. 2.5. Transaction is commited.Thanks in 
  advance,Kestas


[Axis1.4] MinOccurs is ignored with string types?

2006-10-24 Thread Axel Bock
Hi all, 

I have a WSDL file with a schema definition like this: 

xs:complexType name=Professionalxs:sequencexs:element name=name type=Name /xs:element name=contact type=ContactData minOccurs=0 /
xs:element name=qualification type=Qualification /xs:element name=additionalQualification type=Qualification minOccurs=0 /xs:element name=organizationName type=xs:string minOccurs=0 /
/xs:sequence/xs:complexType
Now when I generate Axis stubs with this definition I will get the following code in Professional.java: 

 typeDesc.setXmlType(new javax.xml.namespace.QName(http://bpm.icw.com/regservices/v1-0-0/domain
, Professional)); org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName
(organizationName); elemField.setXmlName(new javax.xml.namespace.QName(http://bpm.icw.com/regservices/v1-0-0/domain
, organizationName)); elemField.setXmlType(new javax.xml.namespace.QName(
http://www.w3.org/2001/XMLSchema, string)); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); elemField = new 
org.apache.axis.description.ElementDesc();
 // ... 
As you can see the MinOccurs command is completely ignored on the organization element. On the other optional complex types this is not a problem, though. I adjusted the MinOccurs to 5 and the MaxOccurs to 7, and even then no (min/max)Occurs property setting was present in the generated code. 


So now I think that maybe Axis has a problem with simple types like String when it comes to generate code with occurrency information. Can anyone confirm this, maybe? Or tell me what I'm doing wrong? Or - best of all :-) - give me a workaround? 



Greetings  thanks in advance, 
Axel.








Re: memory leak in my web service

2006-10-24 Thread Martin Gainty



in your jvm.cfg I would turn on the GC logger 
via
-Xloggc:file name 

then read the log and find out exactly when the GC is occuring..
M-
This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the designated recipients named above. 
If you are not the intended recipient, you are hereby notified that you have 
receivedthis communication in error and that any review, disclosure, 
dissemination, distribution or copying of it or its contents

  - Original Message - 
  From: 
  Willem Liu 
  
  To: axis-user@ws.apache.org 
  Sent: Tuesday, October 24, 2006 9:40 
  AM
  Subject: RE: memory leak in my web 
  service
  
  Hi,
  
  When programming in Java for Linux like environments I've 
  came accros the same thing. The same program would run perfectly under 
  Windows, but would give a memory problem under Linux. I've eventually solved 
  this by calling the Garbage Collector manually and periodically. It seems 
  that the JVM under Linux environments doesn't automatically do this 
  well.
  I don't know wether this will solve your problem as well, 
  but I guess it's worth a try.
  
  Regards,
  
  Willem
  
  
  From: xu cai [mailto:[EMAIL PROTECTED] 
  Sent: dinsdag 24 oktober 2006 15:15To: 
  axis-user@ws.apache.orgSubject: memory leak in my web 
  service
  
  hi all, I got a memory leak issue. The web services is deployed over 
  Axis1.4/Tomcat, the services is used to query database. 
  
  If the client send request in a while loop, the server will run out of 
  memory in 2 or 3 hours.
  
  I use jprofiler to monitor the memory,and cant' find something wired. I 
  even can't know which part of memory is growing so fast. 
  
  can anybody give me a clue ?
  -thanks
  
  -jeff


AW: AXIS 1.4: invoke request after web service sent response to client

2006-10-24 Thread Stadelmann Josef



Martin

 you are right in many aspect. I am a newby to SOAP  
WS, but have some years with OO and 
 CORBA too.
 
 the architectural 
conceptforMYagent, for shure, itrequires 
constraints.

 i.e. a client needs to know the 
service an agent can provide without knowing the details how the 

 agent gets tothe answer. for the client the 
agent is the server, the service provider. Beneficial 
for
 the client. It has to know only one interface, one 
"contract".

 would you allow to say, an agent is a broker and knows 
where a certain service is delivered which can 
 fulfill the request of the client 
asking?
 

 askingjust 
adumbproxy isfor sure ano-go in my scenario, - but is 
often seen with varying results.

 i.e. Iwould myself not 
askjust anyagent when I intend to find a 
"cheap-air-line-ticket-provider".
 In this context I have to 
knowthose agents working close with "air-line-ticket-providers", but not 
more.

I.e.I would myself not ask 
an"air-line-ticket-proving-agent" when I seek a car for whichI 
intend 
 to spend a certain budgetbut 
expect otherwhise the bestmatching/performing carefor my 
money.

 As a client, asking a 
"cheap-airline-tickets-provider-agent"can be beneficial 
i.e.I do not have to sort out 
 and work-up all the varying details (datatypes) 
provided byvarious n types of 
"air-line-ticket-providers" 

 to be able to get the best 
price/performance match. How the agent sorts out details returnd from the 
servers
 is the secret of the agent in charge as 
a server to its client.

As long as the agent can provide to the client 
what the client wants, all is OK forthe client.

 I think it also a very common 
mistake that client's know too much about servers, which has a bad impact 

 when the server changes. 
But, not knowing anything about a server and just 
asking a dumbproxy points to 
 a dumbclient, 
(unless the client is introspecting by intention 
theserver on a dedicated interface.)
 This could be an 
administrativefunction foran agentin an atempt to find new 
matching servers, 
 new "air-line-ticket-providers". New 
servers to deal with when the client intends to pay. 
etc.etc.

Implementing anagent can 
be of great help. it can take the burden of sorting out all kind of late changes 
at 
 the server side edge. 
Given the case that an agent deals with 3 service 
providers, maybe 4 tomorrow. the client 
 shallnot know about this. In 
this case a server can shut down, the client is still served 
unless there are no more 
 servers, in which case the agent 
migth have a suggestion or the like, and tellthe client 
that he can wait unless 
 at least one server 
is back, or cancancelhisrequest, or offers him an asynchronous 
callback if forseen.

 Should a server change and the agent 
does not come clear with this change. Nothing will happend to the client. 

 The clientgets 
served.But the agent will possibly be modified to adopt for 
the changed/newtypeanswer of one 
 of it's service providers. (i.e. 
refine the RPC or CORBA IDL to the new/changed server, then get/generate) new 

 stubs totalk 
properly to the new/changed server(s)).

 Over all, the result is a 
system more"resilent to change" I would also call it a more robust 
system.

 As a SOAP/WS newby, I can not yet 
see how to implement this bestusing SOAP/WS, 
 but with CORBA I would build my 
"expert-agent" with this architectural constraints in mind.

Josef 

 

-Ursprüngliche 
Nachricht-Von: Martin Gainty 
[mailto:[EMAIL PROTECTED]Gesendet: Dienstag, 24. Oktober 2006 
14:59An: axis-user@ws.apache.orgBetreff: Re: AXIS 1.4: 
invoke request after web service sent response to 
client

  Josef-
  
  Having been involved with individuals who 
  inadvertently introduce race conditions on either the DB or Webapp 
  layerscauses meto be careful aroundjunior engineers 
  who are coding SoapServices which are in fact not SOAPServices but instead 
  are
  dumbProxies assembling data points 
  fromn number ofSOAPclients
  
  In those particular scenarios 
  You will have to haveintroduce some sort of architectural 
  constraintwhere adeveloper that desires a complexDataType 
  resultsetwould NOTinadvertentlyintroduce a SOAPService which is NOT a soap service per se but is a 
  soap client to n number of unknown SOAP Services
  but WILL return the correct complexDataType from 
  SOAPService
  
  I cannot speak in a comprehensive manner as to 
  the efficacy of CORBA
  butmy understanding ofCORBA states 
  that CORBA supports marshalling discrete elements of known datatype from 
  client thru IIOP to to ORB implementorWhether you are using CORBA or I 
  am using RPC it seems that we both are using 2 differing implementations of 
  the same concept that isSomeClientRequestsDatatype - 
  DeliversRequestViaSomeTransportSpecificDatatype 
  -ServerAcknowledgesRequestAndAcksWithRequestedDataPoint
  
  Perhaps you can shed some light on how CORBA 
  could be used in this scenario?
  Martin-
  This e-mail communication and any 

Re: [Axis1.4] MinOccurs is ignored with string types?

2006-10-24 Thread Martin Gainty



Axel-

what happens if you set the minOccurs and maxOccurs 
attributes e.g.
elemfield.setMinOccurs(SomeLowNumberLessThanHigherNumber);
elemfield.setMaxOccurs(SomeHigherThanLowNumber);

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

  - Original Message - 
  From: 
  Axel Bock 
  To: axis-user@ws.apache.org 
  Sent: Tuesday, October 24, 2006 10:25 
  AM
  Subject: [Axis1.4] MinOccurs is ignored 
  with string types?
  
  Hi all, 
  
  I have a WSDL file with a schema definition like this: 
  
xs:complexType 
name="Professional"xs:sequencexs:element 
name="name" type="Name" /xs:element 
name="contact" type="ContactData" minOccurs="0" / 
xs:element name="qualification" 
type="Qualification" /xs:element 
name="additionalQualification" type="Qualification" minOccurs="0" 
/xs:element name="organizationName" 
type="xs:string" minOccurs="0" / 
/xs:sequence/xs:complexType
  Now when I generate Axis stubs with this definition I will get the 
  following code in Professional.java: 
  
   
  typeDesc.setXmlType(new javax.xml.namespace.QName("http://bpm.icw.com/regservices/v1-0-0/domain 
  ", 
  "Professional")); 
  org.apache.axis.description.ElementDesc elemField = new 
  org.apache.axis.description.ElementDesc(); 
  elemField.setFieldName 
  ("organizationName"); 
  elemField.setXmlName(new javax.xml.namespace.QName("http://bpm.icw.com/regservices/v1-0-0/domain 
  ", 
  "organizationName")); 
  elemField.setXmlType(new javax.xml.namespace.QName(" 
  http://www.w3.org/2001/XMLSchema", 
  "string")); 
  elemField.setNillable(false); 
  typeDesc.addFieldDesc(elemField); 
  elemField = new org.apache.axis.description.ElementDesc();
   // ... 
  
  As you can see the MinOccurs command is completely ignored on the 
  organization element. On the other optional complex types this is not a 
  problem, though. I adjusted the MinOccurs to 5 and the MaxOccurs to 7, and 
  even then no (min/max)Occurs property setting was present in the generated 
  code. 
  
  So now I think that maybe Axis has a problem with simple types like 
  String when it comes to generate code with occurrency information. Can anyone 
  confirm this, maybe? Or tell me what I'm doing wrong? Or - best of all :-) - 
  give me a workaround? 
  
  
  Greetings  thanks in advance, 
  Axel.
  
  
  
  
  
  


WAS and AXIS : Running Adminclient

2006-10-24 Thread Srinivas Nannapaneni








Hi All,

 Im facing problem running every time admin client manually in Websphere server. 

 Does anybody know how to run the Adminclient on WAS server automatically when
the ear is deployed. 



Thanks in advance,

Srinivas N








[Axis2] Axis2 web site down?

2006-10-24 Thread Michele Mazzucco
Hi all,

I'm unable to get the latest nightly builds at
http://ws.apache.org/axis2/download.cgi. Is there any reason for this?



Thanks in advance,
Michele

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



Re: [Axis1.4] MinOccurs is ignored with string types?

2006-10-24 Thread Axel Bock
Hi Martin, 

I did that, and it worked. But that's not a very good solution for us- we rely on auto-code-generation here ;-) . Still it worked just fine for the time being. 


greetings  thanks, 
Axel.
On 10/24/06, Martin Gainty [EMAIL PROTECTED] wrote:


Axel-

what happens if you set the minOccurs and maxOccurs attributes e.g.
elemfield.setMinOccurs(SomeLowNumberLessThanHigherNumber);
elemfield.setMaxOccurs(SomeHigherThanLowNumber);

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


- Original Message - 
From: 
Axel Bock 
To: axis-user@ws.apache.org 
Sent: Tuesday, October 24, 2006 10:25 AM
Subject: [Axis1.4] MinOccurs is ignored with string types?

Hi all, 

I have a WSDL file with a schema definition like this: 

xs:complexType name=Professionalxs:sequencexs:element name=name type=Name /xs:element name=contact type=ContactData minOccurs=0 / 
xs:element name=qualification type=Qualification /xs:element name=additionalQualification type=Qualification minOccurs=0 /xs:element name=organizationName type=xs:string minOccurs=0 / 
/xs:sequence/xs:complexType
Now when I generate Axis stubs with this definition I will get the following code in Professional.java: 

 typeDesc.setXmlType(new javax.xml.namespace.QName(
http://bpm.icw.com/regservices/v1-0-0/domain , Professional)); org.apache.axis.description.ElementDesc elemField = new 
org.apache.axis.description.ElementDesc(); elemField.setFieldName (organizationName); elemField.setXmlName(new javax.xml.namespace.QName(
http://bpm.icw.com/regservices/v1-0-0/domain , organizationName)); elemField.setXmlType(new javax.xml.namespace.QName
( http://www.w3.org/2001/XMLSchema
, string)); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc();
 // ... 
As you can see the MinOccurs command is completely ignored on the organization element. On the other optional complex types this is not a problem, though. I adjusted the MinOccurs to 5 and the MaxOccurs to 7, and even then no (min/max)Occurs property setting was present in the generated code. 


So now I think that maybe Axis has a problem with simple types like String when it comes to generate code with occurrency information. Can anyone confirm this, maybe? Or tell me what I'm doing wrong? Or - best of all :-) - give me a workaround? 



Greetings  thanks in advance, 
Axel.








Re: WAS and AXIS : Running Adminclient

2006-10-24 Thread Martin Gainty



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

  - Original Message - 
  From: 
  Srinivas Nannapaneni 
  
  To: axis-user@ws.apache.org 
  Sent: Tuesday, October 24, 2006 10:44 
  AM
  Subject: WAS and AXIS : Running 
  Adminclient
  
  
  Hi 
  All,
   
  I’m facing problem running every time admin 
  client manually in Websphere 
  server. 
  
   
  Does anybody know how to run the Adminclient on WAS server automatically 
  when the ear is deployed. 
  
  Thanks in 
  advance,
  Srinivas 
  N


RE: WAS and AXIS : Running Adminclient

2006-10-24 Thread Srinivas Nannapaneni








Martin , I didnt get you. Im
using websphere



Thanks,

Srinivas N









From: Martin Gainty
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 24, 2006
8:32 PM
To: axis-user@ws.apache.org
Subject: Re: WAS and AXIS :
Running Adminclient







canyou nslookup the AxisServer?





M-





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







- Original Message - 





From: Srinivas Nannapaneni 





To: axis-user@ws.apache.org






Sent: Tuesday, October
24, 2006 10:44 AM





Subject: WAS and AXIS :
Running Adminclient









Hi All,


Im facing problem running every time admin
client manually in Websphere
server. 


Does anybody know how to run the Adminclient
on WAS server automatically when the ear is deployed. 



Thanks in advance,

Srinivas N










Re: [Axis2] Service interface question

2006-10-24 Thread Michele Mazzucco
Deepal,

I'm sorry, but maybe there's a misunderstanding. Which version should I
use, 1.1RC* or 1-snapshot? In what do they differ?
Why I don't see the getCurrentContext() method in the MessageContext class?


Thanks,
Michele



Deepal Jayasinghe wrote:
 Hi Michele;
 
 yes , we removed that interface and provide an easy way to access
 message context in side the service impl class.
 What you have to do is call
 MessageContext.getCurrentContext();
 
 It will give you the message context you want to access.
 
 Hi all,

 after a few weeks I've updated my axis2 libs and I've found out that
 the Service interface has been removed while a new one has been added
 (ServiceLifeCycle). Unfortunately the new interface does not provide
 any facility to obtain the operation/message context (i.e. the old
 setOperationContext method). Is there any workaround for this problem?


 Thanks in advance,
 Michele

 -
 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] Axis2 web site down?

2006-10-24 Thread Davanum Srinivas

Yep. Apache Infra is moving to a new colo on Oregon.

-- dims

On 10/24/06, Michele Mazzucco [EMAIL PROTECTED] wrote:

Hi all,

I'm unable to get the latest nightly builds at
http://ws.apache.org/axis2/download.cgi. Is there any reason for this?



Thanks in advance,
Michele

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





--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

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



Re: [Axis2] Axis2 web site down?

2006-10-24 Thread Eran Chinthaka
Michele Mazzucco wrote:
 Hi all,
 
 I'm unable to get the latest nightly builds at
 http://ws.apache.org/axis2/download.cgi. Is there any reason for this?



There is some on-going transition happening in Apache. They are shifting
servers from CA to Oregon.

But I just checked and found it working as usual.

You wanna clear the caches and see?

-- Chinthaka



signature.asc
Description: OpenPGP digital signature


No Object Found for java.util.Calendar

2006-10-24 Thread Alexander Hachmann

Hello,

I have a strange problem with deserializing the XML-Data reveived from a
Webservice.
I Know that there has been a question about this yet on the 30th of august.
But I could not find any answer to that thread, so I am posting this issue
again.

My WebService returns an ComplexType being BeanMapped with Type dateTime in
it which should be parsed to java.util.Calendar.
When I run the client in debug mode in eclipse, i reveive the following
exception:

org.xml.sax.SAXException: No object was found for class type class
java.util.Calendar

But the soapdata thats returned by the server is correct and The strangest
thing about this is, that when I run this client in non Debug mode, I won't
receive this exception.

I am using Axis 1.4.2_08-b03

Can anyone give me a hint? I need this to get work even when debuggin.

Thx,
   Alexander



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



Re: [Axis2] Axis2 web site down?

2006-10-24 Thread Michele Mazzucco
Hmmm, no, it's not working.
Any idea about how long will it take?

Thanks,
Michele

Eran Chinthaka wrote:
 Michele Mazzucco wrote:
 Hi all,

 I'm unable to get the latest nightly builds at
 http://ws.apache.org/axis2/download.cgi. Is there any reason for this?
 
 
 
 There is some on-going transition happening in Apache. They are shifting
 servers from CA to Oregon.
 
 But I just checked and found it working as usual.
 
 You wanna clear the caches and see?
 
 -- Chinthaka
 

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



How to debug?

2006-10-24 Thread Hoskins, Stephen
Hi all

My apologies if this is a naive question.

Basically, my Axis2 service is not working and I would like to know how
I determine what the problem is.

I am using Axis2 1.0 and Tomcat 5.0. My service classes log that they
instantiated okay and the Axis admin screens for the service all look
correct. But whenever I run a test client against the service I get a
stack trace:

org.apache.axis2.AxisFault: Axis2 transport error :
/services/TestService; nested exception is:
org.apache.axis2.AxisFault: Axis2 transport error :
/services/TestService; nested exception is:
org.apache.axis2.AxisFault: Axis2 transport error :
/services/TestService; nested exception is:
org.apache.axis2.AxisFault: Axis2 transport error :
/services/TestService
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Common
sHTTPTransportSender.java:223)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:589)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:328)
at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO
peration.java:279)
at
com.logicacmg.gt.testservice.axis.generated.TestServiceStub.viewProduct(
TestServiceStub.java:133)
at
com.logicacmg.gt.testservice.control.SimpleClient.getProduct(SimpleClien
t.java:55)
at
com.logicacmg.gt.testservice.control.SimpleClient.init(SimpleClient.ja
va:37)
at
com.logicacmg.gt.testservice.control.SimpleClient.main(SimpleClient.java
:23)
Caused by: org.apache.axis2.AxisFault: Axis2 transport error :
/services/TestService; nested exception is:
org.apache.axis2.AxisFault: Axis2 transport error :
/services/TestService
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageW
ithCommons(CommonsHTTPTransportSender.java:305)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Common
sHTTPTransportSender.java:207)
... 28 more
Caused by: org.apache.axis2.AxisFault: Axis2 transport error :
/services/TestService
at
org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSend
er.java:117)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageW
ithCommons(CommonsHTTPTransportSender.java:299)
... 29 more

There is nothing useful in the logs, the request is not reaching my
service classes.

This is my second service, the first one worked fine.

My current idea is to insert some more log messages into the Axis2
source code to trace what is happening, but surely there must be a
better approach?


Many thanks

Steve Hoskins


This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.

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



Re: How to debug?

2006-10-24 Thread David Illsley

Off the top of my head I think the problem is that the server cannot
send the response message to the ReplyTo EPR for some reason.

If you're setting the ReplyTo explicitly please check that you are
getting it right ;-) and if not then check that the server can open a
connection to the port that the client is opening (the simplest way to
determine the port is to look at the ReplyTo in the request message).

David

On 24/10/06, Hoskins, Stephen [EMAIL PROTECTED] wrote:

Hi all

My apologies if this is a naive question.

Basically, my Axis2 service is not working and I would like to know how
I determine what the problem is.

I am using Axis2 1.0 and Tomcat 5.0. My service classes log that they
instantiated okay and the Axis admin screens for the service all look
correct. But whenever I run a test client against the service I get a
stack trace:

org.apache.axis2.AxisFault: Axis2 transport error :
/services/TestService; nested exception is:
org.apache.axis2.AxisFault: Axis2 transport error :
/services/TestService; nested exception is:
org.apache.axis2.AxisFault: Axis2 transport error :
/services/TestService; nested exception is:
org.apache.axis2.AxisFault: Axis2 transport error :
/services/TestService
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Common
sHTTPTransportSender.java:223)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:589)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:328)
at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO
peration.java:279)
at
com.logicacmg.gt.testservice.axis.generated.TestServiceStub.viewProduct(
TestServiceStub.java:133)
at
com.logicacmg.gt.testservice.control.SimpleClient.getProduct(SimpleClien
t.java:55)
at
com.logicacmg.gt.testservice.control.SimpleClient.init(SimpleClient.ja
va:37)
at
com.logicacmg.gt.testservice.control.SimpleClient.main(SimpleClient.java
:23)
Caused by: org.apache.axis2.AxisFault: Axis2 transport error :
/services/TestService; nested exception is:
org.apache.axis2.AxisFault: Axis2 transport error :
/services/TestService
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageW
ithCommons(CommonsHTTPTransportSender.java:305)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Common
sHTTPTransportSender.java:207)
... 28 more
Caused by: org.apache.axis2.AxisFault: Axis2 transport error :
/services/TestService
at
org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSend
er.java:117)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageW
ithCommons(CommonsHTTPTransportSender.java:299)
... 29 more

There is nothing useful in the logs, the request is not reaching my
service classes.

This is my second service, the first one worked fine.

My current idea is to insert some more log messages into the Axis2
source code to trace what is happening, but surely there must be a
better approach?


Many thanks

Steve Hoskins


This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.

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





--
David Illsley - IBM Web Services Development

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



Re: Help! Where can I get maven-itest-plugin-1.0.jar

2006-10-24 Thread Stephen Milne
Chinthaka,

http://ws.zones.apache.org/~dims/maven/maven-itest-plugin/plugins/maven-itest-plugin-1.0.jar
.
doesn't seem to work.
Are there any other links I can get this jar from.

thanks
Stephen

Stephen Milne



   
 Eran Chinthaka
 [EMAIL PROTECTED] 
 urce.lk   To 
   axis-user@ws.apache.org 
 20/10/2006 16:08   cc 
   
   Subject 
 Please respond to Re: Help! Where can I get   
 [EMAIL PROTECTED] maven-itest-plugin-1.0.jar  
  he.org   
   
   
   
   
   




Robert,

Seems that particular jars is not available in any of the repos
mentioned in plugin download command. I think that is why the mail came
from Stephen.

Stephen,

You might wanna try this :
http://ws.zones.apache.org/~dims/maven/maven-itest-plugin/plugins/maven-itest-plugin-1.0.jar
.

-- Chinthaka

robert lazarski wrote:
 Forgot that the 1.0 docs url does not work anymore ... try this from
 the soon to be released 1.1 docs:

 maven plugin:download -DgroupId=maven-itest-plugin
-DartifactId=maven-itest-plugin -Dversion=1.0


-Dmaven.repo.remote=http://people.apache.org/repository/maven,http://www.ibiblio.org/maven



 Robert

 On 10/20/06, robert lazarski [EMAIL PROTECTED] wrote:
 Does this help?

 http://ws.apache.org/axis2/faq.html#d1

 Robert

 On 10/20/06, Stephen Milne [EMAIL PROTECTED] wrote:
 
  Hi,
 
  I have been trying to compile Axis2 with maven-1.0.2 and fail due to
 not
  being able to get maven-itest-plugin-1.0.jar
  Does anyone know where can I get this jar from.
 
  None of the links work in
  http://maven.apache.org/maven-1.x/plugins/itest/downloads.html
 
  http://people.apache.org/repository/maven/plugins/ indicates that it
is
  available as a jar but is infact a zip with no jar.
 
  thanks
  Stephen Milne
 
 
  -
  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]




(See attached file: signature.asc)

signature.asc
Description: Binary data
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Help! Where can I get maven-itest-plugin-1.0.jar

2006-10-24 Thread David Illsley

Significant portions of the Apache infrastructure were physically
relocated over the weekend.
Sorry, but it loooks like ws.zones... isn't back up yet.

David

On 24/10/06, Stephen Milne [EMAIL PROTECTED] wrote:

Chinthaka,

http://ws.zones.apache.org/~dims/maven/maven-itest-plugin/plugins/maven-itest-plugin-1.0.jar
.
doesn't seem to work.
Are there any other links I can get this jar from.

thanks
Stephen

Stephen Milne




 Eran Chinthaka
 [EMAIL PROTECTED]
 urce.lk   To
   axis-user@ws.apache.org
 20/10/2006 16:08   cc

   Subject
 Please respond to Re: Help! Where can I get
 [EMAIL PROTECTED] maven-itest-plugin-1.0.jar
  he.org









Robert,

Seems that particular jars is not available in any of the repos
mentioned in plugin download command. I think that is why the mail came
from Stephen.

Stephen,

You might wanna try this :
http://ws.zones.apache.org/~dims/maven/maven-itest-plugin/plugins/maven-itest-plugin-1.0.jar
.

-- Chinthaka

robert lazarski wrote:
 Forgot that the 1.0 docs url does not work anymore ... try this from
 the soon to be released 1.1 docs:

 maven plugin:download -DgroupId=maven-itest-plugin
-DartifactId=maven-itest-plugin -Dversion=1.0


-Dmaven.repo.remote=http://people.apache.org/repository/maven,http://www.ibiblio.org/maven



 Robert

 On 10/20/06, robert lazarski [EMAIL PROTECTED] wrote:
 Does this help?

 http://ws.apache.org/axis2/faq.html#d1

 Robert

 On 10/20/06, Stephen Milne [EMAIL PROTECTED] wrote:
 
  Hi,
 
  I have been trying to compile Axis2 with maven-1.0.2 and fail due to
 not
  being able to get maven-itest-plugin-1.0.jar
  Does anyone know where can I get this jar from.
 
  None of the links work in
  http://maven.apache.org/maven-1.x/plugins/itest/downloads.html
 
  http://people.apache.org/repository/maven/plugins/ indicates that it
is
  available as a jar but is infact a zip with no jar.
 
  thanks
  Stephen Milne
 
 
  -
  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]




(See attached file: signature.asc)

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






--
David Illsley - IBM Web Services Development

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



Re: Help! Where can I get maven-itest-plugin-1.0.jar

2006-10-24 Thread Eran Chinthaka
Hi Stephen,

Since we have problems with Apache, I just emailed you, personally, the
maven-itest-plugin. Once the infra work is done, you should be able to
get it from Dims' zones account.



-- Chinthaka

Stephen Milne wrote:
 Chinthaka,
 
 http://ws.zones.apache.org/~dims/maven/maven-itest-plugin/plugins/maven-itest-plugin-1.0.jar
 .
 doesn't seem to work.
 Are there any other links I can get this jar from.
 
 thanks
 Stephen
 
 Stephen Milne
 
 
 

  Eran Chinthaka
  [EMAIL PROTECTED] 
  urce.lk   To 
axis-user@ws.apache.org 
  20/10/2006 16:08   cc 

Subject 
  Please respond to Re: Help! Where can I get   
  [EMAIL PROTECTED] maven-itest-plugin-1.0.jar  
   he.org   





 
 
 
 
 Robert,
 
 Seems that particular jars is not available in any of the repos
 mentioned in plugin download command. I think that is why the mail came
 from Stephen.
 
 Stephen,
 
 You might wanna try this :
 http://ws.zones.apache.org/~dims/maven/maven-itest-plugin/plugins/maven-itest-plugin-1.0.jar
 .
 
 -- Chinthaka
 
 robert lazarski wrote:
 Forgot that the 1.0 docs url does not work anymore ... try this from
 the soon to be released 1.1 docs:

 maven plugin:download -DgroupId=maven-itest-plugin
-DartifactId=maven-itest-plugin -Dversion=1.0


 -Dmaven.repo.remote=http://people.apache.org/repository/maven,http://www.ibiblio.org/maven
 

 Robert

 On 10/20/06, robert lazarski [EMAIL PROTECTED] wrote:
 Does this help?

 http://ws.apache.org/axis2/faq.html#d1

 Robert

 On 10/20/06, Stephen Milne [EMAIL PROTECTED] wrote:
 Hi,

 I have been trying to compile Axis2 with maven-1.0.2 and fail due to
 not
 being able to get maven-itest-plugin-1.0.jar
 Does anyone know where can I get this jar from.

 None of the links work in
 http://maven.apache.org/maven-1.x/plugins/itest/downloads.html

 http://people.apache.org/repository/maven/plugins/ indicates that it
 is
 available as a jar but is infact a zip with no jar.

 thanks
 Stephen Milne


 -
 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]


 
 
 (See attached file: signature.asc)
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




signature.asc
Description: OpenPGP digital signature


RE: WS Addressing :: Axis2 :: JMS Webs ervice lookup issues

2006-10-24 Thread Brian De Pradine

Hello Vaibhav,

I would have responded earlier, but
I was out last week. Anyway, I recall from one of your earlier emails that
you were using WebSphere to host your JMS web service. If this is the case,
then you may be able to use the new client here [1] to access it. This
client runs in a J2SE environment, and supports things like JNDI look up.
Do note, however, that I am not sure whether the JMS support in Axis2 will
work with this client. I believe that it was only tested with ActiveMQ,
but I could be wrong :-)

[1] http://www-1.ibm.com/support/docview.wss?uid=swg24012804

Cheers

Brian DePradine
Web Services Development
IBM Hursley
External +44 (0) 1962 816319 Internal
246319

If you can't find the time to do it right the first time, where will you
find the time to do it again?


Vaibhav Pandey [EMAIL PROTECTED]
wrote on 16/10/2006 06:05:19:

 Hi,
 I am trying to forward reply from the destination WS to another WS(actually
 a JMS WS) using WS Addressing.
 For this i need to specify various configurations like:
 
 java.naming.provider.url="" etcnow as given
in my
 examples its usually tcp://localhost:port and thn tcp is configured
in
 axis2.xml
 
 Now as i can see in the axis2.xml file there are configurations for
tcp but
 not for iiop.does that make any difference ??
 Bcoz after configuring all the required parameters, i am getting an
error
 that unable to do the lookup.i have tried practically all possible
 configurations.kindly let me knw if u r aware of any configuration
 details regarding this..
 
 
 Thanks  Regards,
 Vaibhav
 
 
 
 -Original Message-
 From: Sanjiva Weerawarana [mailto:[EMAIL PROTECTED]
 Sent: Saturday, October 14, 2006 7:26 PM
 To: axis-user@ws.apache.org
 Subject: Re: WS Addressing :: Axis2 :: JMS Webs ervice lookup issues
 
 
 On Fri, 2006-10-13 at 11:43 +0530, Vaibhav Pandey wrote:
  Hi all,
  i have a small doubt regarding the protocol to be used during
lookup of my
  JMS WS installed in an application server other than the one
in which i
 have
  installed axis...
 
  as mentioned in all tutorials:-
  tcp://localhost:6061
  there is a mapping of tcp with transport recievers and transport
senders
 in
  axis2.xml but there is nothing of this sought for iiop ..
  My JMS WS is in web sphere RAD6 and i want to do a lookup of
it:-
  iiop://localhost:2809
 
  Do i need to add any new entries in this file in order to provide
support
  for iiop or is it that there is no support yet for it ??
 
 There's no support for it. As far as I know there aren't any SOAP
stacks
 that support sending SOAP over IIOP. Its not theoretically impossible
 but its not a common pattern for an object to receive a SOAP message
as
 a string first argument!
 
 Can you explain what you're looking for?
 
 Sanjiva.
 
 
 -
 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: WS Addressing :: Axis2 :: JMS Webs ervice lookup issues

2006-10-24 Thread Spies, Brennan








Axis 2.0 currently supports the JNDI
lookup model, with the client invocation looking something like:



jms:/Topic?transport.jms.ConnectionFactoryJNDIName=TopicConnectionFactoryjava.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactoryjava.naming.provider.url="">



The full documentation is in Subversion, /xdocs/1_1/jms-transport.html.
The docs seems to indicate that it has been tested (only?) with ActiveMQ, but Ive
used it with Tibco EMS as well. InitialContext is used to get both the ConnectionFactory
and Destination.







Brennan Spies

Sr. Programmer Analyst

Shared Application Services





-Original Message-
From: Brian De Pradine
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday,
 October 24, 2006 10:27 AM
To: axis-user@ws.apache.org
Cc: [EMAIL PROTECTED]
Subject: RE: WS Addressing ::
Axis2 :: JMS Webs ervice lookup issues




Hello Vaibhav, 

I
would have responded earlier, but I was out last week. Anyway, I recall from
one of your earlier emails that you were using WebSphere to host your JMS web
service. If this is the case, then you may be able to use the new client here
[1] to access it. This client runs in a J2SE environment, and supports things
like JNDI look up. Do note, however, that I am not sure whether the JMS support
in Axis2 will work with this client. I believe that it was only tested with
ActiveMQ, but I could be wrong :-) 

[1]
http://www-1.ibm.com/support/docview.wss?uid=swg24012804 

Cheers

Brian DePradine
Web Services Development
IBM Hursley
External +44 (0) 1962 816319 Internal 246319

If you can't find the time to do it right the first time, where will you find
the time to do it again?


Vaibhav
Pandey [EMAIL PROTECTED] wrote on 16/10/2006 06:05:19:

 Hi,
 I am trying to forward reply from the
destination WS to another WS(actually
 a JMS WS) using WS Addressing.
 For this i need to specify various
configurations like:
 

java.naming.provider.url="" etcnow as given in my
 examples its usually tcp://localhost:port and
thn tcp is configured in
 axis2.xml
 
 Now as i can see in the axis2.xml file there
are configurations for tcp but
 not for iiop.does that make any
difference ??
 Bcoz after configuring all the required
parameters, i am getting an error
 that unable to do the lookup.i have tried
practically all possible
 configurations.kindly let me knw if u
r aware of any configuration
 details regarding this..
 
 
 Thanks  Regards,
 Vaibhav
 
 
 
 -Original Message-
 From: Sanjiva Weerawarana
[mailto:[EMAIL PROTECTED]
 Sent: Saturday, October 14,
 2006 7:26 PM
 To: axis-user@ws.apache.org
 Subject: Re: WS Addressing :: Axis2 :: JMS
Webs ervice lookup issues
 
 
 On Fri, 2006-10-13 at 11:43 +0530, Vaibhav Pandey
wrote:
  Hi all,
  i have a small doubt regarding the
protocol to be used during lookup of my
  JMS WS installed in an application
server other than the one in which i
 have
  installed axis...
 
  as mentioned in all tutorials:-
  tcp://localhost:6061
  there is a mapping of tcp with transport
recievers and transport senders
 in
  axis2.xml but there is nothing of this
sought for iiop ..
  My JMS WS is in web sphere RAD6 and i
want to do a lookup of it:-
  iiop://localhost:2809
 
  Do i need to add any new entries in this
file in order to provide support
  for iiop or is it that there is no
support yet for it ??
 
 There's no support for it. As far as I know
there aren't any SOAP stacks
 that support sending SOAP over IIOP. Its not
theoretically impossible
 but its not a common pattern for an object to
receive a SOAP message as
 a string first argument!
 
 Can you explain what you're looking for?
 
 Sanjiva.
 
 

-
 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]
 








Infra (Re: Help! Where can I get maven-itest-plugin-1.0.jar)

2006-10-24 Thread Davanum Srinivas

Folks,

http://ws.zones.apache.org/~dims/ is back up again. Nightly URL is
still down. we are working on it.

-- dims


On 10/24/06, Eran Chinthaka [EMAIL PROTECTED] wrote:

Hi Stephen,

Since we have problems with Apache, I just emailed you, personally, the
maven-itest-plugin. Once the infra work is done, you should be able to
get it from Dims' zones account.



-- Chinthaka

Stephen Milne wrote:
 Chinthaka,

 
http://ws.zones.apache.org/~dims/maven/maven-itest-plugin/plugins/maven-itest-plugin-1.0.jar
 .
 doesn't seem to work.
 Are there any other links I can get this jar from.

 thanks
 Stephen

 Stephen Milne




  Eran Chinthaka
  [EMAIL PROTECTED]
  urce.lk   To
axis-user@ws.apache.org
  20/10/2006 16:08   cc

Subject
  Please respond to Re: Help! Where can I get
  [EMAIL PROTECTED] maven-itest-plugin-1.0.jar
   he.org









 Robert,

 Seems that particular jars is not available in any of the repos
 mentioned in plugin download command. I think that is why the mail came
 from Stephen.

 Stephen,

 You might wanna try this :
 
http://ws.zones.apache.org/~dims/maven/maven-itest-plugin/plugins/maven-itest-plugin-1.0.jar
 .

 -- Chinthaka

 robert lazarski wrote:
 Forgot that the 1.0 docs url does not work anymore ... try this from
 the soon to be released 1.1 docs:

 maven plugin:download -DgroupId=maven-itest-plugin
-DartifactId=maven-itest-plugin -Dversion=1.0


 
-Dmaven.repo.remote=http://people.apache.org/repository/maven,http://www.ibiblio.org/maven


 Robert

 On 10/20/06, robert lazarski [EMAIL PROTECTED] wrote:
 Does this help?

 http://ws.apache.org/axis2/faq.html#d1

 Robert

 On 10/20/06, Stephen Milne [EMAIL PROTECTED] wrote:
 Hi,

 I have been trying to compile Axis2 with maven-1.0.2 and fail due to
 not
 being able to get maven-itest-plugin-1.0.jar
 Does anyone know where can I get this jar from.

 None of the links work in
 http://maven.apache.org/maven-1.x/plugins/itest/downloads.html

 http://people.apache.org/repository/maven/plugins/ indicates that it
 is
 available as a jar but is infact a zip with no jar.

 thanks
 Stephen Milne


 -
 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]




 (See attached file: signature.asc)


 

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








--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

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



Re: How to debug?

2006-10-24 Thread Martin Gainty
1)you might have a static entry in your routing table which is sending it to 
wrong series of  addresses find out by typing
route print *

2)axis2.xml has a transportReceiver class= 
the class specification indicates the exact class which needs to be on the 
CLASSPATH
the port specified in the parameterPort/parameter could be blocked as the 
port is already bound
netstat -a  would tell that which ports are being used 
also check the hostname attribute and make sure you can ping it

Anyone else?
Martin --

This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the 
designated recipients named above. If you are not the intended recipient, you 
are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, 
distribution or copying of it or its 
contents
- Original Message - 
From: Hoskins, Stephen [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Tuesday, October 24, 2006 11:32 AM
Subject: How to debug?


Hi all

My apologies if this is a naive question.

Basically, my Axis2 service is not working and I would like to know how
I determine what the problem is.

I am using Axis2 1.0 and Tomcat 5.0. My service classes log that they
instantiated okay and the Axis admin screens for the service all look
correct. But whenever I run a test client against the service I get a
stack trace:

org.apache.axis2.AxisFault: Axis2 transport error :
/services/TestService; nested exception is:
org.apache.axis2.AxisFault: Axis2 transport error :
/services/TestService; nested exception is:
org.apache.axis2.AxisFault: Axis2 transport error :
/services/TestService; nested exception is:
org.apache.axis2.AxisFault: Axis2 transport error :
/services/TestService
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Common
sHTTPTransportSender.java:223)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:589)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:328)
at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO
peration.java:279)
at
com.logicacmg.gt.testservice.axis.generated.TestServiceStub.viewProduct(
TestServiceStub.java:133)
at
com.logicacmg.gt.testservice.control.SimpleClient.getProduct(SimpleClien
t.java:55)
at
com.logicacmg.gt.testservice.control.SimpleClient.init(SimpleClient.ja
va:37)
at
com.logicacmg.gt.testservice.control.SimpleClient.main(SimpleClient.java
:23)
Caused by: org.apache.axis2.AxisFault: Axis2 transport error :
/services/TestService; nested exception is:
org.apache.axis2.AxisFault: Axis2 transport error :
/services/TestService
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageW
ithCommons(CommonsHTTPTransportSender.java:305)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Common
sHTTPTransportSender.java:207)
... 28 more
Caused by: org.apache.axis2.AxisFault: Axis2 transport error :
/services/TestService
at
org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSend
er.java:117)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageW
ithCommons(CommonsHTTPTransportSender.java:299)
... 29 more

There is nothing useful in the logs, the request is not reaching my
service classes.

This is my second service, the first one worked fine.

My current idea is to insert some more log messages into the Axis2
source code to trace what is happening, but surely there must be a
better approach?


Many thanks

Steve Hoskins


This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.

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



Dynamic Invocation Problem (Axis works, but .NET...)

2006-10-24 Thread Andrew P.



Hello! I'm trying to invoke a service dynamically 
using DII - without previsouly generating any proxy. 
With Axis (which is rpc/encoded style) is working 
fine, but with a .NET (document/literal) is not working. Anybody has worked with 
something similar, and have any idea?
I have attached the code and the WSDL(of the .NET 
service):

public class GetAllMethods_Price {

private static String ENCODING_STYLE_PROPERTY 
= "javax.xml.rpc.encodingstyle.namespace.uri";private static String 
TYPE_NAMESPACE_VALUE = "http://tempuri.org/";
public static void main (String args[]) 
{
try {String 
serviceUrl = "http://localhost/GetPrice/Service.asmx";URL 
wsdlURL = new URL(serviceUrl + "?WSDL"); 
ServiceFactory serviceFactory = ServiceFactory.newInstance(); 
QName serviceQname = new QName(TYPE_NAMESPACE_VALUE, "Service"); 
 Service servicow = 
serviceFactory.createService(wsdlURL,serviceQname);Call call = 
servicow.createCall();call.setTargetEndpointAddress("http://localhost/GetPrice/Service.asmx");

 
call.setProperty(Call.SOAPACTION_USE_PROPERTY, new 
Boolean(true)); 
call.setProperty(Call.SOAPACTION_URI_PROPERTY,"");  
 
call.setProperty("javax.xml.rpc.encodingstyle.namespace.uri", 
""); call.setProperty(Call.OPERATION_STYLE_PROPERTY, 
"document");   QName 
REQUEST_QNAME = new QName(TYPE_NAMESPACE_VALUE, 
"getPrice"); call.addParameter("item", 
REQUEST_QNAME, ParameterMode.IN); 
QName RESPONSE_QNAME = new QName(TYPE_NAMESPACE_VALUE, 
"getPriceResult");call.setReturnType(RESPONSE_QNAME); 
Object[] Arguments = {new String("keyboard")}; 
Object price = call.invoke(Arguments);

 System.out.println("Item 
price: " + price.toString());

 } catch (Exception ex) 
{ 
ex.printStackTrace(); }}




?xml version="1.0" encoding="utf-8" ? 

- wsdl:definitions 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 
xmlns:tns="http://tempuri.org/" 
xmlns:s="http://www.w3.org/2001/XMLSchema" 
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" 
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 
targetNamespace="http://tempuri.org/" 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"


- wsdl:types


- s:schema elementFormDefault="qualified" 
targetNamespace="http://tempuri.org/"


- s:element name="getPrice"


- s:complexType


- s:sequence


 s:element minOccurs="0" 
maxOccurs="1" 
name="item" 
type="s:string" / 
 /s:sequence
 /s:complexType
 /s:element

- s:element name="getPriceResponse"


- s:complexType


- s:sequence


 s:element minOccurs="1" 
maxOccurs="1" 
name="getPriceResult" 
type="s:double" / 
 /s:sequence
 /s:complexType
 /s:element
 /s:schema
 /wsdl:types

- wsdl:message name="getPriceSoapIn"


 wsdl:part name="parameters" 
element="tns:getPrice" / 
 /wsdl:message

- wsdl:message name="getPriceSoapOut"


 wsdl:part name="parameters" 
element="tns:getPriceResponse" / 

 /wsdl:message

- wsdl:portType name="ServiceSoap"


- wsdl:operation name="getPrice"


 wsdl:input message="tns:getPriceSoapIn" / 

 wsdl:output message="tns:getPriceSoapOut" / 

 /wsdl:operation
 /wsdl:portType

- wsdl:binding name="ServiceSoap" 
type="tns:ServiceSoap"


 soap:binding transport="http://schemas.xmlsoap.org/soap/http" / 


- wsdl:operation name="getPrice"


 soap:operation soapAction="http://tempuri.org/getPrice" 
style="document" / 

- wsdl:input


 soap:body use="literal" / 
 /wsdl:input

- wsdl:output


 soap:body use="literal" / 
 /wsdl:output
 /wsdl:operation
 /wsdl:binding

- wsdl:binding name="ServiceSoap12" 
type="tns:ServiceSoap"


 soap12:binding transport="http://schemas.xmlsoap.org/soap/http" / 


- wsdl:operation name="getPrice"


 soap12:operation soapAction="http://tempuri.org/getPrice" 
style="document" / 

- wsdl:input


 soap12:body use="literal" / 
 /wsdl:input

- wsdl:output


 soap12:body use="literal" / 
 /wsdl:output
 /wsdl:operation
 /wsdl:binding

- wsdl:service name="Service"


- wsdl:port name="ServiceSoap" 
binding="tns:ServiceSoap"


 soap:address location="http://localhost/GetPrice/Service.asmx" / 

 /wsdl:port

- wsdl:port name="ServiceSoap12" 
binding="tns:ServiceSoap12"


 soap12:address location="http://localhost/GetPrice/Service.asmx" / 

 /wsdl:port
 /wsdl:service
 /wsdl:definitions


Compilation errors with the generated code

2006-10-24 Thread Kang, Kamaljeet K.
Hi,

Can somebody help me with the following compilation errors. I am using
Axis2 and have included all the axis2\lib\jarfiles in the classpath.

compile.src:
[javac] Compiling 216 source files to
D:\mtosi\test\wsdl2java\build\classes
[javac]
D:\mtosi\test\wsdl2java\src\tellabs\mtosi\ConfigurationServiceMessageRec
eiverInOut.java:83: cannot find symbol
[javac] symbol  : method newXMLStreamReader()
[javac] location: interface org.apache.axiom.om.OMElement
[javac]
(org.apache.axiom.om.OMAbstractFactory.getOMFactory(),new
org.apache.axis2.util.StreamWrapper(param.newXMLStreamReader())) ;
[javac]
^
[javac]
D:\mtosi\test\wsdl2java\src\tellabs\mtosi\ConfigurationServiceMessageRec
eiverInOut.java:120: cannot find symbol
[javac] symbol  : variable Factory
[javac] location: interface org.apache.axiom.om.OMElement
[javac]  return
org.apache.axiom.om.OMElement.Factory.parse(
[javac]  ^
[javac]
D:\mtosi\test\wsdl2java\src\tellabs\mtosi\ConfigurationServiceMessageRec
eiverInOut.java:124: cannot find symbol
[javac] symbol  : variable Factory
[javac] location: interface org.apache.axiom.om.OMElement
[javac]  return
org.apache.axiom.om.OMElement.Factory.parse(
[javac]  ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note:
D:\mtosi\test\wsdl2java\src\tellabs\mtosi\ConfigurationServiceMessageRec
eiverInOut.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 3 errors
Thanks

Kamal

The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader
of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the
intended recipient, you are hereby notified that any reproduction,
dissemination or distribution of this communication is strictly
prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and
deleting it from your computer. Thank you. Tellabs


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



Re: Compilation errors with the generated code

2006-10-24 Thread Davanum Srinivas

Kamal,

please create a new bug report:
https://issues.apache.org/jira/browse/AXIS2

thanks,
dims

On 10/24/06, Kang, Kamaljeet K. [EMAIL PROTECTED] wrote:

Hi,

Can somebody help me with the following compilation errors. I am using
Axis2 and have included all the axis2\lib\jarfiles in the classpath.

compile.src:
[javac] Compiling 216 source files to
D:\mtosi\test\wsdl2java\build\classes
[javac]
D:\mtosi\test\wsdl2java\src\tellabs\mtosi\ConfigurationServiceMessageRec
eiverInOut.java:83: cannot find symbol
[javac] symbol  : method newXMLStreamReader()
[javac] location: interface org.apache.axiom.om.OMElement
[javac]
(org.apache.axiom.om.OMAbstractFactory.getOMFactory(),new
org.apache.axis2.util.StreamWrapper(param.newXMLStreamReader())) ;
[javac]
^
[javac]
D:\mtosi\test\wsdl2java\src\tellabs\mtosi\ConfigurationServiceMessageRec
eiverInOut.java:120: cannot find symbol
[javac] symbol  : variable Factory
[javac] location: interface org.apache.axiom.om.OMElement
[javac]  return
org.apache.axiom.om.OMElement.Factory.parse(
[javac]  ^
[javac]
D:\mtosi\test\wsdl2java\src\tellabs\mtosi\ConfigurationServiceMessageRec
eiverInOut.java:124: cannot find symbol
[javac] symbol  : variable Factory
[javac] location: interface org.apache.axiom.om.OMElement
[javac]  return
org.apache.axiom.om.OMElement.Factory.parse(
[javac]  ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note:
D:\mtosi\test\wsdl2java\src\tellabs\mtosi\ConfigurationServiceMessageRec
eiverInOut.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 3 errors
Thanks

Kamal

The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader
of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the
intended recipient, you are hereby notified that any reproduction,
dissemination or distribution of this communication is strictly
prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and
deleting it from your computer. Thank you. Tellabs


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





--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

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



Re: Dynamic Invocation Problem (Axis works, but .NET...)

2006-10-24 Thread Martin Gainty



Andrew-

Look at code C of this page
http://mail-archives.apache.org/mod_mbox/ws-soap-dev/200202.mbox/[EMAIL PROTECTED]

the most important statement is to set the call 
style to doc literal as in this example
call.setEncodingStyleURI 
(org.apache.axis2.Constants.SOAP_STYLE_LITERAL_WRAPPED);

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

  - Original Message - 
  From: 
  Andrew P. 
  To: axis-user@ws.apache.org 
  Sent: Tuesday, October 24, 2006 4:12 
  PM
  Subject: Dynamic Invocation Problem (Axis 
  works, but .NET...)
  
  Hello! I'm trying to invoke a service dynamically 
  using DII - without previsouly generating any proxy. 
  With Axis (which is rpc/encoded style) is working 
  fine, but with a .NET (document/literal) is not working. Anybody has worked 
  with something similar, and have any idea?
  I have attached the code and the WSDL(of the .NET 
  service):
  
  public class GetAllMethods_Price {
  
  private static String 
  ENCODING_STYLE_PROPERTY = 
  "javax.xml.rpc.encodingstyle.namespace.uri";private static String 
  TYPE_NAMESPACE_VALUE = "http://tempuri.org/";
  public static void main (String args[]) 
  {
  try {String 
  serviceUrl = "http://localhost/GetPrice/Service.asmx";URL 
  wsdlURL = new URL(serviceUrl + "?WSDL"); 
  ServiceFactory serviceFactory = ServiceFactory.newInstance(); 
  QName serviceQname = new QName(TYPE_NAMESPACE_VALUE, 
  "Service");  Service servicow = 
  serviceFactory.createService(wsdlURL,serviceQname);Call call = 
  servicow.createCall();call.setTargetEndpointAddress("http://localhost/GetPrice/Service.asmx");
  
   
  call.setProperty(Call.SOAPACTION_USE_PROPERTY, new 
  Boolean(true)); 
  call.setProperty(Call.SOAPACTION_URI_PROPERTY,""); 

  call.setProperty("javax.xml.rpc.encodingstyle.namespace.uri", 
  ""); 
  call.setProperty(Call.OPERATION_STYLE_PROPERTY, "document"); 
QName REQUEST_QNAME = new 
  QName(TYPE_NAMESPACE_VALUE, "getPrice"); 
  call.addParameter("item", REQUEST_QNAME, 
  ParameterMode.IN); QName 
  RESPONSE_QNAME = new QName(TYPE_NAMESPACE_VALUE, 
  "getPriceResult");call.setReturnType(RESPONSE_QNAME); 
  Object[] Arguments = {new 
  String("keyboard")}; Object price = 
  call.invoke(Arguments);
  
   System.out.println("Item 
  price: " + price.toString());
  
   } catch (Exception ex) 
  { 
  ex.printStackTrace(); }}
  
  
  
  
  ?xml version="1.0" encoding="utf-8" 
  ? 
  
  - wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
  xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" 
  xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
  xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 
  xmlns:tns="http://tempuri.org/" 
  xmlns:s="http://www.w3.org/2001/XMLSchema" 
  xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" 
  xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 
  targetNamespace="http://tempuri.org/" 
  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  
  
  - wsdl:types
  
  
  - s:schema elementFormDefault="qualified" 
  targetNamespace="http://tempuri.org/"
  
  
  - s:element name="getPrice"
  
  
  - s:complexType
  
  
  - s:sequence
  
  
   s:element minOccurs="0" 
  maxOccurs="1" 
  name="item" 
  type="s:string" / 
   /s:sequence
   /s:complexType
   /s:element
  
  - s:element name="getPriceResponse"
  
  
  - s:complexType
  
  
  - s:sequence
  
  
   s:element minOccurs="1" 
  maxOccurs="1" 
  name="getPriceResult" 
  type="s:double" / 
   /s:sequence
   /s:complexType
   /s:element
   /s:schema
   /wsdl:types
  
  - wsdl:message name="getPriceSoapIn"
  
  
   wsdl:part name="parameters" 
  element="tns:getPrice" / 
   /wsdl:message
  
  - wsdl:message name="getPriceSoapOut"
  
  
   wsdl:part name="parameters" 
  element="tns:getPriceResponse" / 
  
   /wsdl:message
  
  - wsdl:portType name="ServiceSoap"
  
  
  - wsdl:operation name="getPrice"
  
  
   wsdl:input message="tns:getPriceSoapIn" / 
  
  
   wsdl:output message="tns:getPriceSoapOut" / 
  
   /wsdl:operation
   /wsdl:portType
  
  - wsdl:binding name="ServiceSoap" 
  type="tns:ServiceSoap"
  
  
   soap:binding transport="http://schemas.xmlsoap.org/soap/http" / 
  
  
  - wsdl:operation name="getPrice"
  
  
   soap:operation soapAction="http://tempuri.org/getPrice" 
  style="document" / 
  
  - wsdl:input
  
  
   soap:body use="literal" / 
   /wsdl:input
  
  - wsdl:output
  
  
   soap:body use="literal" / 
   /wsdl:output
   /wsdl:operation
   /wsdl:binding
  
  - wsdl:binding name="ServiceSoap12" 
  type="tns:ServiceSoap"
  
  
   soap12:binding transport="http://schemas.xmlsoap.org/soap/http" / 
  
  
  - wsdl:operation name="getPrice"
  
  
   

Re: Invoking java classes with a Perl client

2006-10-24 Thread D . Kreft

On 10/24/06, Anne Thomas Manes [EMAIL PROTECTED] wrote:


We need the WSDL to help you.


Thanks, Anne. Please find he WSDL attached.

-dan
?xml version=1.0 encoding=UTF-8?
wsdl:definitions targetNamespace=http://pkgbuild.company.com/PBQS; xmlns=http://schemas.xmlsoap.org/wsdl/; xmlns:apachesoap=http://xml.apache.org/xml-soap; xmlns:impl=http://pkgbuild.company.com/PBQS; xmlns:intf=http://pkgbuild.company.com/PBQS; xmlns:tns2=http://request.packagebuilder.company.com; xmlns:tns3=http://event.packagebuilder.company.com; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; xmlns:wsdlsoap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns:xsd=http://www.w3.org/2001/XMLSchema;
!--WSDL created by Apache Axis version: 1.3
 Built on Oct 05, 2005 (05:23:37 EDT)--
wsdl:types
schema elementFormDefault=qualified targetNamespace=http://pkgbuild.company.com/PBQS; xmlns=http://www.w3.org/2001/XMLSchema;
import namespace=http://event.packagebuilder.company.com/
import namespace=http://request.packagebuilder.company.com/
import namespace=http://xml.apache.org/xml-soap/
element name=testTakeHash
complexType
sequence
element name=map type=apachesoap:Map/
/sequence
/complexType
/element
element name=testTakeHashResponse
complexType
sequence
element name=testTakeHashReturn type=xsd:string/
/sequence
/complexType
/element
element name=testTakeRequest
complexType
sequence
element name=request type=tns2:RequestImpl/
/sequence
/complexType
/element
complexType name=ArrayOf_tns3_RequestEvent
sequence
element maxOccurs=unbounded minOccurs=0 name=item type=tns3:RequestEvent/
/sequence
/complexType
element name=testTakeRequestResponse
complexType
sequence
element name=testTakeRequestReturn type=xsd:string/
/sequence
/complexType
/element
element name=addEventToRequest
complexType
sequence
element name=requestID type=xsd:long/
element name=username type=xsd:string/
element name=message type=xsd:string/
/sequence
/complexType
/element
element name=addEventToRequestResponse
complexType
sequence
element name=addEventToRequestReturn type=xsd:long/
/sequence
/complexType
/element
element name=createNewRequest
complexType
sequence
element name=versionSetName type=xsd:string/
element name=priority type=xsd:int/
element name=createdBy type=xsd:string/
/sequence
/complexType
/element
element name=createNewRequestResponse
complexType
sequence
element name=createNewRequestReturn type=xsd:long/
/sequence
/complexType
/element
element name=createNewRequest2
complexType
sequence
element name=requestArgs type=apachesoap:Map/
/sequence
/complexType
/element
element name=createNewRequest2Response
complexType
sequence
element name=createNewRequest2Return type=xsd:long/
/sequence
/complexType
/element
element name=createNewRequestWithLegacyID
complexType
sequence
element name=legacyRequestID type=xsd:string/
element name=versionSetName type=xsd:string/
element name=priority type=xsd:int/
element name=createdBy type=xsd:string/
/sequence
/complexType
/element
element name=createNewRequestWithLegacyIDResponse
complexType
sequence
element name=createNewRequestWithLegacyIDReturn type=xsd:long/
/sequence
/complexType
/element
element name=getAllRequests
complexType/
/element
element 

rahas question

2006-10-24 Thread George Stanchev



Hi,

When is 
rahas officially going to be released? Is it targeted for 
the
1.1 
release?

Thanks!

George 
Stanchev

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




[ANN][axis2] training course on axis2?

2006-10-24 Thread Sanjiva Weerawarana
A couple of us are traveling to New York City in two weeks and are
wondering whether anyone would be interested in joining a 1-2 day course
on Axis2 and related parts. We could also do a 1/2 tutorial on Synapse.

This would be on Tuesday Nov 7th and 8th (or just 7th if its one day).

Please drop me a note at [EMAIL PROTECTED] and let me know whether you're
interested. We haven't figured out what the cost will be yet but its not
meant to be high (hopefully; logistics in NY can be a bit costly I'm
sure).

Thanks,

Sanjiva.



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



[Axis2] Nightly builds for 1.1 branch

2006-10-24 Thread Davanum Srinivas

Team,

Please get the nightly builds from here:
http://ws.zones.apache.org/dist/axis2/nightly/

Please note that the repo that was under my id is now here:
http://ws.zones.apache.org/repository/

FYI, We had to dump a box (minotaur) that got corrupted in the colo move.

thanks,
dims

--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

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



Re: [Axis2] Service interface question

2006-10-24 Thread Deepal Jayasinghe
Hi Michele ;

You need to use Nightly build , we didnt have that in 1.1 RC*

Thanks
Deepal

Deepal,

I'm sorry, but maybe there's a misunderstanding. Which version should I
use, 1.1RC* or 1-snapshot? In what do they differ?
Why I don't see the getCurrentContext() method in the MessageContext class?


Thanks,
Michele



Deepal Jayasinghe wrote:
  

Hi Michele;

yes , we removed that interface and provide an easy way to access
message context in side the service impl class.
What you have to do is call
MessageContext.getCurrentContext();

It will give you the message context you want to access.



Hi all,

after a few weeks I've updated my axis2 libs and I've found out that
the Service interface has been removed while a new one has been added
(ServiceLifeCycle). Unfortunately the new interface does not provide
any facility to obtain the operation/message context (i.e. the old
setOperationContext method). Is there any workaround for this problem?


Thanks in advance,
Michele

-
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]



  


-- 
Thanks,
Deepal

~Future is Open~ 



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



When will Axis2 support C++? Now Axis2C is not very convenient.

2006-10-24 Thread Song Haojie-a23023






Avoiding Running ADminClient

2006-10-24 Thread Srinivas Nannapaneni








Hi All,

 Is there any way of avoiding running the
AdminClinet , because it is continuously bugging me running it every time when I
deployed the .ear file on the
websphere server, as ofcourse I can run remotely even though I want to avoid
that by some other means, any body have choice? Please help me on this.  

 









Thanks in advance,

Srinivas N