Re: [Axis2C] mod_axis2 service shutdown problem

2008-02-20 Thread Ben Wyckoff
Thanks Dumindu. I've opened an issue in Jira, and I've been looking at the
code a bit more, and I think the issue is a bit more complex. I'll move the
discussion to the dev-list.

-Ben


 From: Dumindu Pallewela [EMAIL PROTECTED]
 Date: Wed, 20 Feb 2008 11:39:58 +0530
 To: [EMAIL PROTECTED]
 Cc: Apache AXIS C Developers List [EMAIL PROTECTED], Apache AXIS C
 User List axis-c-user@ws.apache.org
 Subject: Re: [Axis2C] mod_axis2 service shutdown problem
 
 Hi Ben,
 
 On Feb 20, 2008 1:40 AM, Ben Wyckoff [EMAIL PROTECTED] wrote:
 snip
 Has anyone else run into this issue? Is anyone trying to allocate resources
 that have to be freed? (In particular, I'm opening a database, and I need to
 properly close it - I can't just rely on the OS to free memory or close file
 handles.)
 /snip
 
 This seems to be a problem with mod_axis2. Although the memory
 allocated with apr_pools will get free'd eventually without free
 functions being called, in order to free up other resources, we need
 to register relevant free functions to pool cleanup of a pool which
 has resource's lifetime. Please add a jira issue.
 
 The attached patch should solve this issue when shared memory is not
 used. I'm not sure if it works when shared memory is used. Hope that
 someone familiar with axis2c shared memory implementation will look
 further into it.
 
 Regards,
 Dumindu.
 
 -- 
 Dumindu Pallewela
 http://blog.dumindu.com
 GPG ID: 0x9E131672
 
 WSO2 | Oxygenating the Web Service Platform | http://wso2.com


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



Re: How to get the properties in context.xml in the server skeleton class

2008-02-20 Thread Simon Steinacker

Something like this

 MessageContext msgC=MessageContext.getCurrentContext();
 ServletContext 
context=((HttpServlet)msgC.getProperty(HTTPConstants.MC_HTTP_SERVLET)).getServletContext();


should work.
Generally speaking you can get a lot of properties concerning the 
current http and soap message by using the 
MessageContext.getProperty(...) method. Parameters taht can be used for 
this are located in org.apache.axis2.Constants or HTTPConstants or whatever.


Hope that helped,
best regards,
Simon


Suriya Simsuwat wrote:

Hi all,

I would like to know is it possible to get the properties' values from 
the file 'context.xml' in CATALINA_HOME\webapps\axis2\META-INF.


The example of context.xml

?xml version=1.0 encoding=UTF-8?
Context path=/axis2
Parameter name=xsltDirectory value=xslt override=false /
Parameter name=testDirectory value=test override=false /
/Context

It said on Tomcat document that the value can be retrieved by calling 
|ServletContext.getInitParameter(), |but I do not know how to get this 
data via the Axis2 server skeleton class. Thank you for any help in 
advance.


Cheers,

Suriya


Looking for last minute shopping deals? Find them fast with Yahoo! 
Search. 
http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping 




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



Axis from a Javascript Client

2008-02-20 Thread Marchioni Francesco
Hi all!
I have developed a Web Service using axis1.4 and deployed on JBoss4.0.5. 
I have the need to use a Javascript client to invoke the Web Service- is it
possible to do it ?
Any link, suggestion is highly appreciated.
Thanks
Francesco



 
Le informazioni trasmesse possono contenere documenti confidenziali e/o 
materiale riservato; sono 
quindi da intendersi esclusivamente ad uso della persona e/o società a cui sono 
indirizzate.
Qualsiasi modifica, inoltro, diffusione o altro utilizzo, relativo alle 
informazioni trasmesse, da parte 
di persone e/o società diversi dai destinatari indicati, è proibito ai sensi 
della legge 196/2003. 
Qualora questa mail fosse stata ricevuta per errore, si prega di contattare il 
mittente e cancellarne
il contenuto. 
-- 
Privileged/Confidential Information may be contained in this message. If you 
are not the addressee 
indicated in this message (or responsible for delivery of the message to such 
person), you may not 
copy or deliver this message to anyone. In such case, you should destroy this 
message and kindly 
notify the sender by reply email. Please advise immediately if you or your 
employer does not consent 
to Internet email for messages of this kind. Opinions, conclusions and other 
information in this 
message that do not relate to the official business of my firm shall be 
understood as neither given 
nor endorsed by it. 

 



Re: WS-Security, SSL or both

2008-02-20 Thread Paul Fremantle
Mikle

More answers:

On Feb 19, 2008 7:54 PM, mikle [EMAIL PROTECTED] wrote:
  The clients are large organisations that will be submitting and pulling
 financial transaction. so a username and password is not enough

The Authentication mechanism in WS-Security allows the use of client
certificates as well as u/p. So you can use a cert to authenticate and
SSL to encrypt if you only need auth+encryption. That would be the
simplest approach if those are your requirements.


 pzfreo wrote:
   1) Is it possible to access two-way SSL authentication information from a
  web service? (assuming SSL is setup on the axis server - no reverse proxy)
 You can always access the Tomcat/Servlet/HTTP context, so if the SSL client
 cert information is available from the servlet context (which it is) you can
 get at it in your Axis2 service. Does this work when using axis without
 tomcat?

Yes this should work in any servlet container.

 pzfreo wrote:
  There is another alternative, which is to use WS-Trust and
 WS-SecureConversation. This makes life more efficient if you have more than
 one message exchange (which I'm guessing you will if this is a B2B sort of
 situation). Basically, the client uses UserName token or the X509 cert to
 set up the session. Then the server issues a token. The token acts as an
 ephemeral key which can be used for traditional symmetric encryption and
 signature. So now the conversation can proceed much more efficiently.
 WS-SecureConversation sounds interesting.. does it work with anonymous
 clients (behind a firewall)? Do you have any links to good implementation
 guides for SecureConv? I ran a quick search and all the results seem to
 point to the spec

There are samples in Axis2/Rampart/Rahas. In addition WSO2 has a
packaged version of Axis2 (http://wso2.org/projects/wsas) that
provides some help configuring WS-SC and Trust, including some
pre-built policies.

 pzfreo wrote:
  Basically this is the model I described with WS-Trust and SecureConv.
 Effectively this models the session startup that SSL does in XML. The upside
 is the efficiency. The downside is that you need more stuff. So for
 example, you can interoperate with .NET, but some older stacks don't do
 WS-SecConv and Trust. interop is important for this impl..but it seems that
 it is supported by the Sun and ibm stacks.. please correct me if I am wrong.

Sure, there are a number of stacks that support SecureConversation. I
simply meant that WS-Security is *very* widely implemented whereas SC
is newer.

Paul

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

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

Oxygenating the Web Service Platform, www.wso2.com

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



Re: I'm having a problem using Axis2. What should I do?

2008-02-20 Thread Michele Mazzucco

Your code is wrong.

Options options = new Options();
options.set...

serviceClient.setOptions(options);



On 20 Feb 2008, at 05:33, 雪莉 焦 wrote:


Hi all:
   I publish a web service using axis2 on websphere 5.1, also i  
can invoke this webservice correctly with java application  
client ,but i cann't ivoke this webservice in jsp with the same  
client code.The client code is:

   ..
   RPCServiceClient serviceClient = new RPCServiceClient();
   Options options = serviceClient.getOptions();
   EndpointReference targetEPR = new EndpointReference 
(serviceURL);

   options.setTo(targetEPR);
   options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
   ..
   Object[] response = serviceClient.invokeBlocking 
(opFindEntry,opFindEntryArgs, returnTypes);

   The exception in running jsp is:
   org.apache.axis2.AxisFault: The server failed to process the  
WS-Addressing header: wsa:Action [Reason]: A header representing a  
Message Addressing Property is not valid and the message cannot be  
processed
[08-2-20 9:23:38:177 CST] 57fa3a39 SystemErr R  at  
org.apache.axis2.handlers.addressing.AddressingInFaultHandler.invoke 
(AddressingInFaultHandler.java:114)
[08-2-20 9:23:38:177 CST] 57fa3a39 SystemErr R  at  
org.apache.axis2.engine.Phase.invoke(Phase.java:292)
[08-2-20 9:23:38:177 CST] 57fa3a39 SystemErr R  at  
org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
[08-2-20 9:23:38:177 CST] 57fa3a39 SystemErr R  at  
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)
[08-2-20 9:23:38:177 CST] 57fa3a39 SystemErr R  at  
org.apache.axis2.description.OutInAxisOperationClient.handleResponse 
(OutInAxisOperation.java:336)
[08-2-20 9:23:38:177 CST] 57fa3a39 SystemErr R  at  
org.apache.axis2.description.OutInAxisOperationClient.send 
(OutInAxisOperation.java:389)
[08-2-20 9:23:38:177 CST] 57fa3a39 SystemErr R  at  
org.apache.axis2.description.OutInAxisOperationClient.executeImpl 
(OutInAxisOperation.java:211)
[08-2-20 9:23:38:177 CST] 57fa3a39 SystemErr R  at  
org.apache.axis2.client.OperationClient.execute 
(OperationClient.java:163)
[08-2-20 9:23:38:177 CST] 57fa3a39 SystemErr R  at  
org.apache.axis2.client.ServiceClient.sendReceive 
(ServiceClient.java:528)
[08-2-20 9:23:38:177 CST] 57fa3a39 SystemErr R  at  
org.apache.axis2.client.ServiceClient.sendReceive 
(ServiceClient.java:508)
[08-2-20 9:23:38:177 CST] 57fa3a39 SystemErr R  at  
org.apache.axis2.rpc.client.RPCServiceClient.invokeBlocking 
(RPCServiceClient.java:101)

Thanks in advance,zhyj.

雅虎邮箱传递新年祝福,个性贺卡送亲朋!



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



Re: Fw: Axis2 session management (yes, I know that subject is a bit worn-out)

2008-02-20 Thread Benoît Smith
Just a thought : is it problematic that the SOAP envelope of the response
message context doesn't have a header ?

Benoît


Selon Benoît Smith [EMAIL PROTECTED]:

 Here is my service configuration :

 serviceGroup

   !-- Sample --

   service name=sample scope=soapsession
   messageReceivers
   messageReceiver
   mep=http://www.w3.org/2004/08/wsdl/in-out;
   
 class=org.apache.axis2.rpc.receivers.RPCMessageReceiver
   /
   messageReceiver
   mep=http://www.w3.org/2004/08/wsdl/in-only;
   
 class=org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver
   /
   /messageReceivers
   parameter name=ServiceClass
 locked=falsefr.axis2ws.wsmobile.SampleService/parameter
   operation name=getResult 
 mep=http://www.w3.org/2004/08/wsdl/in-out;
   actionMappingurn:getResult/actionMapping
   /operation
   /service

   !-- Other services --
   ...

 /serviceGroup


 Here is my service source code :


 package fr.axis2ws.wsmobile;

 /* Various imports */

 public abstract class SampleService
 {
 private static Logger logger = Logger.getLogger(SampleService.class);

 private Member member = null;

 private String sessionId = null;

 /**
  * @param sc
  * @throws SampleInitException
  */
 public void init (ServiceContext sc) throws SampleInitException {
 try {
 if (this.member == null) {
 if (this.idSession == null) {
 this.idSession = sc.getServiceGroupContext().getId();
 }
 this.member =
 (Member)sc.getServiceGroupContext().getProperty(Const.MEMBER);
 if (this.member == null) {
 this.member = new Member();

 sc.getServiceGroupContext().setProperty(Const.MEMBER,
 this.member);
 }
 }
 } catch (Throwable t) {
 logger.error(Init error, t);
 throw new SampleInitException(Init error, t);
 }
 }

 /**
  * @param sc
  * @throws SampleInitException
  */
 public void destroy (ServiceContext sc) throws SampleInitException {
 logger.info(Destroy);
 }

 public SampleResponse getResult (long param) throws WsMobNoeudException {
 try {
 SampleResponse response;

 /* Some code */

   response = new SampleResponse(SampleResponse.SUCCESS, 
 this.sessionId);

 return response;
 }
 catch (Throwable t) {
 logger.error(Failure, t);
 throw new SampleException(Failure, t);
 }
   }
 }


 And here is the source code for creating a response object :


 /* Various imports */

 public class SampleResponse
 {
 public static int VOID = -1;
 public static int SUCCESS  = 0;
 public static int FAILURE  = 1;

 protected int errorCode = VOID;

 public SampleResponse (int errorCode, String sessionId) {
 this.errorCode = errorCode;
 this.sessionId = sessionId;
 }

 public String getSessionId () {
 return this.sessionId;
 }

 public int getErrorCode () {
 return this.errorCode;
 }
 }


 Thank you.

 Best regards,
 Benoît Smith


 Selon Martin Gainty [EMAIL PROTECTED]:

  when unspecified the default scope is session scope so taking a quick look
  at the code to generate the id for your Session
   GetResult gr = new GetResult();
   gr.setParam(-1);
   GetResultResponse reponse = stub.getResult(gr);
   idSession = reponse.get_return().getIdSession();
 
  there appears to be some malady in either
  GetResultResponse
  OR
  GetResult
 
  can you display the contents of the classes to group?
 
  Thanks
  Martin--
 
  - Original Message -
  From: Michele Mazzucco [EMAIL PROTECTED]
  To: axis-user@ws.apache.org
  Sent: Monday, February 18, 2008 4:36 AM
  Subject: Re: Axis2 session management (yes, I know that subject is a bit
  worn-out)
 
 
  Benoît,
 
 
  my guess is that the service must be configured in session scope.
 
 
  Michele
 
  On 18 Feb 2008, at 08:38, Benoît Smith wrote:
 
   Greetings,
  
   I'm a clear newbie to Axis2, and I'm aware that the question I'm
   asking has
   already been asked in many forms before. The thing is, none of the
   solutions
   appeared to solve my specific problem. So I'll try to be as
   accurate as
   possible.
  
   My objectives :
   Run some Axis2 web services on a Tomcat servlet container, and
   access them with
   a *remote* client, using session management.
  
   Server-side configuration :
   - Axis2 1.2 (for compatibility 

Re: Axis from a Javascript Client

2008-02-20 Thread Seref Arikan

Hi Marchioni,
My two cents: check out Json support for Axis.

Cheers
Seref Arikan

Marchioni Francesco wrote:

Hi all!
I have developed a Web Service using axis1.4 and deployed on JBoss4.0.5.
I have the need to use a Javascript client to invoke the Web Service- 
is it possible to do it ?

Any link, suggestion is highly appreciated.
Thanks
Francesco

--
Le informazioni trasmesse possono contenere documenti confidenziali 
e/o materiale riservato; sono
quindi da intendersi esclusivamente ad uso della persona e/o società a 
cui sono indirizzate.
Qualsiasi modifica, inoltro, diffusione o altro utilizzo, relativo 
alle informazioni trasmesse, da parte
di persone e/o società diversi dai destinatari indicati, è proibito ai 
sensi della legge 196/2003.
Qualora questa mail fosse stata ricevuta per errore, si prega di 
contattare il mittente e cancellarne

il contenuto.
--
Privileged/Confidential Information may be contained in this message. 
If you are not the addressee
indicated in this message (or responsible for delivery of the message 
to such person), you may not
copy or deliver this message to anyone. In such case, you should 
destroy this message and kindly
notify the sender by reply email. Please advise immediately if you or 
your employer does not consent
to Internet email for messages of this kind. Opinions, conclusions and 
other information in this
message that do not relate to the official business of my firm shall 
be understood as neither given

nor endorsed by it.
--




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



rampart decryption issue

2008-02-20 Thread Paul Ryan
Hi,

I'm attempting to call a secure web service hosted within Oracles OWSM using
an Axis2 client.

The client is using rampart 1.3 and wss4j 1.5.3 to handle the singing and
encrypting of the SOAP message.

Signing and encrypting the SOAP request works fine, the message is
successfully verified and decrypted on the Oracle side but the Axis2 client
seems to be having a problem decrypting the response message. I get an np
exception as follows

org.apache.axis2.AxisFault
at org.apache.rampart.handler.WSDoAllReceiver.processMessage(
WSDoAllReceiver.java:92)
at org.apache.rampart.handler.WSDoAllHandler.invoke(WSDoAllHandler.java
:72)
at org.apache.axis2.engine.Phase.invoke(Phase.java:292)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
OutInAxisOperation.java:336)
at org.apache.axis2.description.OutInAxisOperationClient.send(
OutInAxisOperation.java:389)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
OutInAxisOperation.java:211)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java
:163)
at test.VehicleStub.getVehicle(VehicleStub.java:142)
at test.VehicleTest.testgetVehicle(VehicleTest.java:35)
Caused by: java.lang.NullPointerException
at org.apache.ws.security.message.token.X509Security.getX509Certificate(
X509Security.java:87)
at
org.apache.ws.security.processor.BinarySecurityTokenProcessor.getCertificatesTokenReference
(BinarySecurityTokenProcessor.java:92)
at
org.apache.ws.security.processor.BinarySecurityTokenProcessor.handleToken(
BinarySecurityTokenProcessor.java:74)
at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(
WSSecurityEngine.java:284)
at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(
WSSecurityEngine.java:206)
at org.apache.rampart.handler.WSDoAllReceiver.processBasic(
WSDoAllReceiver.java:213)
at org.apache.rampart.handler.WSDoAllReceiver.processMessage(
WSDoAllReceiver.java:86)
... 25 more


I've debugged the code and have followed the processing from the rampart
WSDoAllReceiver  wss4j WSSecurityEngine  wss4j
BinarySecurityTokenProcessor

In the BinarySecurityTokenProcessor I can see that the crypto variable is
null and the decCrypto variable is set but in the following code only the
crypto variable is passed to the
getCertificatesTokenReference() method causing the npe.

public void handleToken(Element elem, Crypto crypto, Crypto decCrypto,
CallbackHandler cb, WSDocInfo wsDocInfo, Vector returnResults,
WSSConfig config) throws WSSecurityException {
this.getCertificatesTokenReference(elem, crypto);
returnResults.add(0, new WSSecurityEngineResult(WSConstants.BST,
this.token, this.certificates));
}

private void getCertificatesTokenReference(Element elem, Crypto crypto)
throws WSSecurityException {
this.createSecurityToken(elem);
if (token instanceof PKIPathSecurity) {
this.certificates = ((PKIPathSecurity)
token).getX509Certificates(false, crypto);
} else if (token instanceof X509Security) {
NPE X509Certificate cert = ((X509Security)
token).getX509Certificate(crypto);
this.certificates = new X509Certificate[1];
this.certificates[0] = cert;
}
}

My rampart client configuration section is as follows

parameter name=OutflowSecurity
  action
itemsTimestamp Signature Encrypt/items
userpaul1/user
signaturePropFileclient.properties/signaturePropFile
passwordCallbackClasstest.PasswordHandler/passwordCallbackClass
signatureKeyIdentifierDirectReference/signatureKeyIdentifier
encryptionUserpaul1/encryptionUser
encryptionPropFileclient.properties/encryptionPropFile
encryptionKeyIdentifierDirectReference/encryptionKeyIdentifier
  /action
/parameter

parameter name=InflowSecurity
  action
itemsTimestamp Encrypt/items
passwordCallbackClasstest.PasswordHandler/passwordCallbackClass
decryptionPropFileclient.properties/decryptionPropFile
  /action
/parameter


I probably have a mis-configuration problem, any help would be welcome.

Regards,
Paul.


Axis2 - determine whether a message is a request or response inside a module

2008-02-20 Thread Simon Steinacker

Hello,

I have a module with some handlers. And I need to tell if a given 
message is a request or response. Is there a possibility to achieve that?


Thanks,
Simon

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



Generating service.xml with wsdl2java

2008-02-20 Thread Matthias.Gaiser
Hi all,

 

I am generating the server-side code from a wsdl with wsdl2java which
generates the corresponding java classes and the service.xml.

Now I am changing the service.xml to add some handlers, messagereceiver,
etc.

 

When some methods are added to wsdl, I am generating the code again with
wsdl2java and it replaces my service.xml which means I lose all my
changes of it.

Is there a way to automatically synchronize the old service.xml with the
new one?

 

Thanks,

Matthias.



axis2 status of rpc encoding

2008-02-20 Thread John Langley
Hi, 
  I've been trying to use Axis2 to generate java classes (using
wsdl2java.sh) from wsdl for that describes an rpc/literal service
delivered from Axis1. Regardless of which options I choose I seem to
consistently get a complaint about an unexpected subelement. 

org.apache.axis2.databinding.ADBException: Unexpected subelement
pingReturn
org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException:
Unexpected subelement pingReturn


  What is the official status of rpc encoding support in Axis2? I've
seen Jira issues that have a status of resolved around this, but I see
comments on the user mailing list suggesting that axis2 does not support
rpc encoding. 

Can anyone comment on either: 1) the official status of rpc encoding
support or 2) their personal experience with it? 

Thanks in advance

-- Langley 


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



RE: Generating service.xml with wsdl2java

2008-02-20 Thread D . H . T . M . Gameren
Hi,

 

I suggest to create an ant-script which alters the 'default'
services.xml so you don't have to change

This manually everytime.

For instance alter the call to the skelton to the implementation

 

Regards

Dirk 

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: woensdag 20 februari 2008 14:29
To: axis-user@ws.apache.org
Subject: Generating service.xml with wsdl2java

 

Hi all,

 

I am generating the server-side code from a wsdl with wsdl2java which
generates the corresponding java classes and the service.xml.

Now I am changing the service.xml to add some handlers, messagereceiver,
etc.

 

When some methods are added to wsdl, I am generating the code again with
wsdl2java and it replaces my service.xml which means I lose all my
changes of it.

Is there a way to automatically synchronize the old service.xml with the
new one?

 

Thanks,

Matthias.




The information transmitted via this e-mail is intended only for the person or 
entity to which it is addressed and may contain confidential and/or privileged 
material.  Any review, retransmission, dissemination or other use of, or taking 
of any action in reliance upon this information by persons or entities other 
than the intended recipient is prohibited. If you received this in error, 
please contact the sender and delete the material from any computer.


Re: axis2 status of rpc encoding

2008-02-20 Thread Martin Gainty
Hi John

2 questions:
1)Cant help without looking at the wsdl for a service with a pingReturn
operation
2)rpc is supported as exemplified style=rpc attribute illustrated in
intergration/test-resources/rpc/test-rpc-2.wsdl
 binding name=echoBinding type=y:echoPortType
soap:binding style=rpc
transport=http://schemas.xmlsoap.org/soap/http/
operation name=echo
soap:operation soapAction=echo/
input
soap:body use=literal/
/input
output
soap:body use=literal/
/output
/operation
/binding

HTH
Martin--
978-400-7544

- Original Message -
From: John Langley [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Wednesday, February 20, 2008 8:43 AM
Subject: axis2 status of rpc encoding


 Hi,
   I've been trying to use Axis2 to generate java classes (using
 wsdl2java.sh) from wsdl for that describes an rpc/literal service
 delivered from Axis1. Regardless of which options I choose I seem to
 consistently get a complaint about an unexpected subelement.

 org.apache.axis2.databinding.ADBException: Unexpected subelement
 pingReturn
 org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException:
 Unexpected subelement pingReturn


   What is the official status of rpc encoding support in Axis2? I've
 seen Jira issues that have a status of resolved around this, but I see
 comments on the user mailing list suggesting that axis2 does not support
 rpc encoding.

 Can anyone comment on either: 1) the official status of rpc encoding
 support or 2) their personal experience with it?

 Thanks in advance

 -- Langley


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



External Schemas in WSDL

2008-02-20 Thread Kahler, Jason J (US SSA)
Is this still broken. Is there really no way for me to run the Maven aar
plugin to build an archive that

Has a WSDL with external schemas ? I try and everything builds, but I
cannot get the WSDL back from my service.

 

I don't believe supplying the full path to the schemas is possible (they
live in the aar file) any ideas?

Jason J. Kahler

Senior Software Engineer

BAE Systems Network Systems

Northeast Engineering Development Center

428 Phoenix Drive, Rome NY. 13441

Office: 315.838.2177

Email: [EMAIL PROTECTED]

 



Strange behavior while using Commons-discovery.jar

2008-02-20 Thread NB222
If I use commons-discovery.jar on my WAS 6.0 server classpath, it gives 
me an error -Could not find Web Service Engine
but the specifications for axis say that it has to be there on the server 
classpath.

And more interesting is when I run the Web Service Axis client, it gives 
me a NoClassDefFoundError for DiscoverSingleton class which is located in 
commons-discovery.jar

So if put that file on classpath - my web service server stops working and 

if I don't put that on classpath - my web service client stops working.

Is it any Jar conflict issue ?

Please advise.

Thanks.

Regards,
Nipun Bansal

Information about WSDL Parser and Code Generator Framework

2008-02-20 Thread Andrea Turli
Hi all,

I'm studying the WSDL Parser and Code Generator Framework described at
http://ws.apache.org/axis/java/integration-guide.html. Integration%20guide
In particular I'm interested in exploit the opportunity described in
Example 1 - Simple extension of WSDL2Java - additional artifact.
Unfortunately I'm having some problems and I can't find the complete
implementation of this example as specified
samples/integrationGuide/example1. Could you provide me a link to the
complete example?
Moreover It could be useful specify that I've to use axis1.2 in my
implementation.

Thank you in advance,
Andrea


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



Custom TrustManagers with Axis + SSL

2008-02-20 Thread Raghuram Sreenath
I am writing this email as the last hope to get some help with my effort to
get a custom trust manager with axis.
I have gone through the documention (whatever is available) and have found
no answers.  Specificall, i have tried the following:
1. followed the steps in axis/docs/integration-guide.html#Pluggable%20APIs
2. Tried the steps mentioned by John in his post
http://marc.info/?l=axis-userm=110211163701959w=2

I have had no luck.

Basically, I have an axis client trying to contact an axis server over
HTTPS. I have an implementation of X509TrustManager that I want to be used
while doing a SSL handshake.  From what I understand, this should be
typically achieved by the following lines of code:
TrustManager[] myTMs = new TrustManager [] {
  new MyTrustManager() };
SSLContext ctx = SSLContext.getInstance(SSL);
ctx.init(null, myTMs, null);
SSLSocketFactory factory =ctx.getSocketFactory();
HttpsURLConnectionImpl.setDefaultSSLSocketFactory(factory);

after moving to axis. I created an implementation of axis's
SecureSocketFactory that delegates to my 'factory' above and added the
following:
System.setProperty(
org.apache.axis.components.net.SecureSocketFactory, 
my.package.MySecureSocketFactory);
AxisProperties.setClassOverrideProperty(
org.apache.axis.components.net.SecureSocketFactory.class,   
amazon.subway.mapps.notif.adapters.webservice.MySecureSocketFactory);
AxisProperties.setProperty(
org.apache.axis.components.net.SecureSocketFactory, 
my.package.MySecureSocketFactory);

I even tried passing the jvm parameters: -
Dorg.apache.axis.components.net.SecureSocketFactory=my.package.MySecureSocketFactory-
Daxis.socketSecureFactory=my.package.MySecureSocketFactory

Nothing has worked :(

Please help!

Regards,
Raghuram.


AW: Generating service.xml with wsdl2java

2008-02-20 Thread Matthias.Gaiser
Hello Dirk,

 

Thank you for your answer. That is exactly what I want to do. And I
think there are lots of other people out there which have the same
problem or am I wrong?

My question now is if there is a kind of standard way to alter the
default services.xml?

 

This altering of the services.xml may not be an easy task.

 

Regards,

Matthias.

 

 

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 20. Februar 2008 15:09
An: axis-user@ws.apache.org
Betreff: RE: Generating service.xml with wsdl2java

 

Hi,

 

I suggest to create an ant-script which alters the 'default'
services.xml so you don't have to change

This manually everytime.

For instance alter the call to the skelton to the implementation

 

Regards

Dirk 

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: woensdag 20 februari 2008 14:29
To: axis-user@ws.apache.org
Subject: Generating service.xml with wsdl2java

 

Hi all,

 

I am generating the server-side code from a wsdl with wsdl2java which
generates the corresponding java classes and the service.xml.

Now I am changing the service.xml to add some handlers, messagereceiver,
etc.

 

When some methods are added to wsdl, I am generating the code again with
wsdl2java and it replaces my service.xml which means I lose all my
changes of it.

Is there a way to automatically synchronize the old service.xml with the
new one?

 

Thanks,

Matthias.

 

The information transmitted via this e-mail is intended only for the
person or entity to which it is addressed and may contain confidential
and/or privileged material.  Any review, retransmission, dissemination
or other use of, or taking of any action in reliance upon this
information by persons or entities other than the intended recipient is
prohibited. If you received this in error, please contact the sender and
delete the material from any computer.


Re: Deploy my Service in a different war than axis2.war

2008-02-20 Thread Antonio Manuel Muñiz Martín
See this:

http://wso2.org/library/90


2008/2/19, Moley Harey [EMAIL PROTECTED]:

 Hi folks!

 I have developed an Axis2 Web Service and to deploy and use it in Tomcat I
 generate the MyService.aar file and copy it into the
 $CATALINA_HOME/webapps/axis2/WEB-INF/services folder so it gets deployed
 correctly and is accesses in the url:

 http://localhost:8080/axis2/services/MyService

 My question is if I could build my own mydeployment.war file (instead of
 using the standard axis2.war) and put there all the necessary jars,
 configuration files and my own MyService.aar and deploy it directly into
 Tomcat so the url to access it would be something like:

 http://localhost:8080/mydeployment/services/MyService

 Is it possible to do it?
 Or all services implemented using Axis2 have to be deployed into 
 axis.warfile??

 Thanks in advance,

 Mh



configure AxisServlet

2008-02-20 Thread mathieu fabre
Hi,

I use an AxisServlet in a webapp.

in the web.xml i configure my axisServlet like that :

servlet
servlet-nameAxisServlet/servlet-name
display-nameApache-Axis Servlet/display-name
servlet-classorg.apache.axis2.transport.http.AxisServlet
/servlet-class
init-param
  param-nameaxis2.xml.path/param-name
  param-valueC:\long
path\webapp\WEB-INF\conf\axis2.xml/param-value
/init-param
init-param
  param-nameaxis2.repository.path/param-name
  param-valueC:\long path\webapp\WEB-INF\/param-value
/init-param
init-param
  param-namecontextRoot/param-name
  param-value//param-value
/init-param
init-param
  param-nameservicePath/param-name
  param-valueservices/param-value
/init-param
load-on-startup1/load-on-startup
  /servlet

But i want to configure axis2.xml.path and axis2.repository.path with
relative path like WEB-INF\conf\axis2.xml

How could I do that ? I know I must use the context of my webapp but i don't
know how

thanks in advance,

Mat


Re: configure AxisServlet

2008-02-20 Thread mathieu fabre
Thanks for your answer,

for axis2.xml location, axisServlet search for the path
WEB-INF/conf/axis2.xml by default.
So, i removed the tag param-nameaxis2.xml.path/param-name and it's
value.

But if i put the tag :

init-param
   param-nameaxis2.repository.path/param-name
   param-valueWEB-INF/param-value
/init-param

I obtain an exception :

org.apache.axis2.deployment.DeploymentException: The system cannot locate
the specified repository location: WEB-INF
at org.apache.axis2.deployment.DeploymentEngine.loadRepository(
DeploymentEngine.java:127)
at
org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(
WarBasedAxisConfigurator.java:199)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext
(ConfigurationContextFactory.java:64)
at org.apache.axis2.transport.http.AxisServlet.initConfigContext(
AxisServlet.java:500)
at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java
:420)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(
ServletHolder.java:433)
at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java
:256)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java
:40)
...

It seem it don't work well... :(

2008/2/20, Davanum Srinivas [EMAIL PROTECTED]:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Don't specify them at all..AxisServlet looks in WEB-INF/conf for axis2.xmland 
 uses WEB-INF as the repo.

 - -- dims

 mathieu fabre wrote:
 | Hi,
 |
 | I use an AxisServlet in a webapp.
 |
 | in the web.xml i configure my axisServlet like that :
 |
 | servlet
 | servlet-nameAxisServlet/servlet-name
 | display-nameApache-Axis Servlet/display-name
 | servlet-classorg.apache.axis2.transport.http.AxisServlet
 | /servlet-class
 | init-param
 |   param-nameaxis2.xml.path/param-name
 |   param-valueC:\long
 | path\webapp\WEB-INF\conf\axis2.xml/param-value
 | /init-param
 | init-param
 |   param-nameaxis2.repository.path/param-name
 |   param-valueC:\long path\webapp\WEB-INF\/param-value
 | /init-param
 | init-param
 |   param-namecontextRoot/param-name
 |   param-value//param-value
 | /init-param
 | init-param
 |   param-nameservicePath/param-name
 |   param-valueservices/param-value
 | /init-param
 | load-on-startup1/load-on-startup
 |   /servlet
 |
 | But i want to configure axis2.xml.path and axis2.repository.path
 with
 | relative path like WEB-INF\conf\axis2.xml
 |
 | How could I do that ? I know I must use the context of my webapp but i
 don't
 | know how
 |
 | thanks in advance,
 |
 | Mat
 |
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.5 (Cygwin)

 iD8DBQFHvFuZgNg6eWEDv1kRAuzlAKDmAHkisCmyqJQUyS97zUKsdcwbZwCaAwxS
 HOARIlO8IuNzBXiZ5jPqnLk=
 =+Usy
 -END PGP SIGNATURE-

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




Re: configure AxisServlet

2008-02-20 Thread Davanum Srinivas

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Don't specify them at all..AxisServlet looks in WEB-INF/conf for axis2.xml and 
uses WEB-INF as the repo.

- -- dims

mathieu fabre wrote:
| Hi,
|
| I use an AxisServlet in a webapp.
|
| in the web.xml i configure my axisServlet like that :
|
| servlet
| servlet-nameAxisServlet/servlet-name
| display-nameApache-Axis Servlet/display-name
| servlet-classorg.apache.axis2.transport.http.AxisServlet
| /servlet-class
| init-param
|   param-nameaxis2.xml.path/param-name
|   param-valueC:\long
| path\webapp\WEB-INF\conf\axis2.xml/param-value
| /init-param
| init-param
|   param-nameaxis2.repository.path/param-name
|   param-valueC:\long path\webapp\WEB-INF\/param-value
| /init-param
| init-param
|   param-namecontextRoot/param-name
|   param-value//param-value
| /init-param
| init-param
|   param-nameservicePath/param-name
|   param-valueservices/param-value
| /init-param
| load-on-startup1/load-on-startup
|   /servlet
|
| But i want to configure axis2.xml.path and axis2.repository.path with
| relative path like WEB-INF\conf\axis2.xml
|
| How could I do that ? I know I must use the context of my webapp but i don't
| know how
|
| thanks in advance,
|
| Mat
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)

iD8DBQFHvFuZgNg6eWEDv1kRAuzlAKDmAHkisCmyqJQUyS97zUKsdcwbZwCaAwxS
HOARIlO8IuNzBXiZ5jPqnLk=
=+Usy
-END PGP SIGNATURE-

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



Re: configure AxisServlet

2008-02-20 Thread Davanum Srinivas

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

axis2.repository.path should be the full directory path. So i'd recommend that 
you don't set that as well.

mathieu fabre wrote:
| Thanks for your answer,
|
| for axis2.xml location, axisServlet search for the path
| WEB-INF/conf/axis2.xml by default.
| So, i removed the tag param-nameaxis2.xml.path/param-name and it's
| value.
|
| But if i put the tag :
|
| init-param
|param-nameaxis2.repository.path/param-name
|param-valueWEB-INF/param-value
| /init-param
|
| I obtain an exception :
|
| org.apache.axis2.deployment.DeploymentException: The system cannot locate
| the specified repository location: WEB-INF
| at org.apache.axis2.deployment.DeploymentEngine.loadRepository(
| DeploymentEngine.java:127)
| at
| org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(
| WarBasedAxisConfigurator.java:199)
| at
| 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext
| (ConfigurationContextFactory.java:64)
| at org.apache.axis2.transport.http.AxisServlet.initConfigContext(
| AxisServlet.java:500)
| at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java
| :420)
| at org.mortbay.jetty.servlet.ServletHolder.initServlet(
| ServletHolder.java:433)
| at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java
| :256)
| at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java
| :40)
| ...
|
| It seem it don't work well... :(
|
| 2008/2/20, Davanum Srinivas [EMAIL PROTECTED]:
| Don't specify them at all..AxisServlet looks in WEB-INF/conf for axis2.xmland 
uses WEB-INF as the repo.
|
| -- dims
|
| mathieu fabre wrote:
| | Hi,
| |
| | I use an AxisServlet in a webapp.
| |
| | in the web.xml i configure my axisServlet like that :
| |
| | servlet
| | servlet-nameAxisServlet/servlet-name
| | display-nameApache-Axis Servlet/display-name
| | servlet-classorg.apache.axis2.transport.http.AxisServlet
| | /servlet-class
| | init-param
| |   param-nameaxis2.xml.path/param-name
| |   param-valueC:\long
| | path\webapp\WEB-INF\conf\axis2.xml/param-value
| | /init-param
| | init-param
| |   param-nameaxis2.repository.path/param-name
| |   param-valueC:\long path\webapp\WEB-INF\/param-value
| | /init-param
| | init-param
| |   param-namecontextRoot/param-name
| |   param-value//param-value
| | /init-param
| | init-param
| |   param-nameservicePath/param-name
| |   param-valueservices/param-value
| | /init-param
| | load-on-startup1/load-on-startup
| |   /servlet
| |
| | But i want to configure axis2.xml.path and axis2.repository.path
| with
| | relative path like WEB-INF\conf\axis2.xml
| |
| | How could I do that ? I know I must use the context of my webapp but i
| don't
| | know how
| |
| | thanks in advance,
| |
| | Mat
| |
|
- -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
|
|

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

iD8DBQFHvGKugNg6eWEDv1kRAhs9AJ9+veyhEndd6IZso/feZ3XfEVGd4ACfUtGS
bFO7QVyqsbKhybdjoJdFPHs=
=Qftd
-END PGP SIGNATURE-

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



Re: [Axis2][Savan] Is there WS Eventing for Axis2/Java

2008-02-20 Thread Leon Searl

Hi Samir,

Please look at https://issues.apache.org/jira/browse/SAVAN-4
I've attached a couple of patches that should fix the
savan-config.xml issue that I described below.

leon

Leon Searl wrote:

Hi Samir,

I've made several changes.

- There was a problem with the module class
  loader looking for the savan-config.xml
  file in the jar file. The config file does not get
  included in the jar if you do a clean build.
  Although it will get included in the jar if
  you do two builds in a row without a clean
  in between.
  I changed the module class init function to
  only look for the savan-config.xml in the mar
  file.

- It is redundant to have all of the classes in
  both the jar and mar files. I made a change
  so that only the savan-module.class was in the
  mar.

- I made a change to support using ADB for the
  client, publisher and subscriber.

- I was not able to make the sample work. I
  think that something must have changed
  in axis2 1.3 to stop it from working.
  Everything works until the published messaged
  message gets to the subscriber. The message is
  getting dropped somewhere just before the
  business logic would get invoked. I believe
  that it has something to do with addressing
  being 'on' on the publisher out side but addressing
  not being 'on' in the subscriber. But
  I'm not sure about this.

leon

samir shaikh wrote:

Leon,

I was able to make it work finally!

Just curious, what changes are you making to Savan...
anything that is needed to get WS-Eventing going?

Samir

--- Leon Searl [EMAIL PROTECTED] wrote:


Hi Samir,

I have significantly modified
Savan so I don't have a stock jar and mar.
I'm reluctant to give you my modified Savan
since I'm sure it has bugs.

leon

samir shaikh wrote:

Leon,

I'm having trouble getting maven to work thru my
proxy.

Can you send me the compiled jar and mar you

mention

below?

I'm assuming they'll be exactly the same if i were

to

get mvn working also.

Samir


--- Leon Searl [EMAIL PROTECTED] wrote:


Hi Samir,

Yes, although I have not used the mar or jar yet
so I dont know if it has any problems.

In the trunk/java directory I did the following
command:
mvn package
The mar shows up in:
trunk/java/modules/mar/target/savan-SNAPSHOT.mar

The jar (for the service and client API) shows up

in

trunk/java/modules/core/target/savan-SNAPSHOT.jar

The sample code gets compiled and shows up in:


trunk/java/modules/samples/target/savan-samples-SNAPSHOT.jar

This requires that you have maven installed. I'm
also
using java 1.5.

I hope this helps.

Maybe tomorrow I'll actually try my own service

and

client/service
to see if I can get it to work.

Other than the javadocs I have not found any

other

documentation
so you are on your own there unless someone tells

us

where to find
some documentation. Looking at the javadocs and

the

example the API
does not look too hard to figure out though.

leon

samir shaikh wrote:

Hi Leon,

Are you able to build the mar module file?

Thanks,
Samir

--- Leon Searl [EMAIL PROTECTED] wrote:


Hi Samir,

I just did this today.

Go to


http://ws.apache.org/savan/source-repository.html

and do the Anonymouse access svn checkout.

Down in the directory
savan/trunk/java/modules/samples/eventing/

you will find an example:

leon

samir shaikh wrote:

Does anyone have any sample code for

WS-Eventing

in

Axis2.. Some server and client sample code

will

be

great.


--- Michele Mazzucco

[EMAIL PROTECTED]

wrote:


http://ws.apache.org/savan/index.html, but

the

web

site look incomplete.

Michele


On 17 Dec 2007, at 16:46, Prince Singh wrote:


-- Forwarded message --
From: Prince Singh [EMAIL PROTECTED]
Date: Dec 17, 2007 6:23 PM
Subject: Is there WS Eventing for Axis2/Java
To: axis-user@ws.apache.org

Savan/C is WS-Eventing implementation for

Axis2/C.
Is there any 

Java implementation of WS-Eventing for the

Axis2/Java?

-

Prince Singh
Drishti-Soft Solutions Pvt Ltd


--
Regards,
Prince Singh

Drishti-Soft Solutions Pvt Ltd
SCO-36, Sector 31
Gurgaon, INDIA-122001

P: 91 124 4085120
F: 91 124 4039120
W: http://www.drishti-soft.com


DISCLAIMER

This message may contain confidential,

proprietary
or legally 

Privileged information. In case you are not

the
original intended 

Recipient of the message, you must not,

directly
or indirectly, 

use, disclose, distribute, print, or copy

any

part
of this message 

and you are requested to delete it and

inform

the

sender.

Any views expressed in this message are

those

of
the individual 

sender unless otherwise stated. Nothing

contained
in this message 

shall be construed as an offer or acceptance

of
any offer by 

Drishti-Soft Solutions Pvt Ltd (Drishti)

unless
sent with that 

express intent and with due authority of

Drishti.

Drishti has taken enough precautions to

prevent
the spread of 

viruses. However the company accepts no

liability
for any damage 

caused by any virus transmitted by this

email.


Re: Deploy my Service in a different war than axis2.war

2008-02-20 Thread Moley Harey
Thanks Antonio, the tutorial was very useful!!

2008/2/20, Antonio Manuel Muñiz Martín [EMAIL PROTECTED]:

 See this:

 http://wso2.org/library/90


 2008/2/19, Moley Harey [EMAIL PROTECTED]:
 
  Hi folks!
 
  I have developed an Axis2 Web Service and to deploy and use it in Tomcat
  I generate the MyService.aar file and copy it into the
  $CATALINA_HOME/webapps/axis2/WEB-INF/services folder so it gets deployed
  correctly and is accesses in the url:
 
  http://localhost:8080/axis2/services/MyService
 
  My question is if I could build my own mydeployment.war file (instead
  of using the standard axis2.war) and put there all the necessary jars,
  configuration files and my own MyService.aar and deploy it directly into
  Tomcat so the url to access it would be something like:
 
  http://localhost:8080/mydeployment/services/MyService
 
  Is it possible to do it?
  Or all services implemented using Axis2 have to be deployed into
  axis.war file??
 
  Thanks in advance,
 
  Mh
 




-- 
~~~
Para atras, solo para tomar impulso!

http://chromewaves.blogspot.com/


Example policy file needed

2008-02-20 Thread Simon Nunn
I am trying to use ws-policy for my webservice.   I would like for the
service to receive either a saml assertion or a username token for
authetication.  I have been unsuccessful in getting a ws-policy configured
for this.  Does anyone have an example of a policy file that does this?

 

Thanks,

 Simon

 



Axis 1.4 - CommonsHTTPSender and proxy protocol problem

2008-02-20 Thread Mario Felarca
Hello all,

This is with Axis 1.4 and commons-httpclient 3.0.1

I have an axis client, deployed via webstart, which has been fine in the past 
with picking up its proxy settings from the browser and communicating correctly.

Recently, I ran into a deployment at a customer site where the communication 
was failing with a NullPointerException coming out of 
...axis.transport.http.CommonsHTTPSender.invoke.

I put some simple prints into the source around that area and rebuilt the axis 
jar to try and get a bit more information. I have included a snip of the logs 
below and a section of the code I modified as well, however the end result is 
that while it is reading the proxy host correctly, for some reason there ends 
up being no protocol. This is an issue because the code expects there to be one 
set.

I also placed prints in the getHostConfiguration method, which is called before 
the failure, and it appears from that block of code that in the case where a 
proxy is set, the host and port do not get set on the HostConfiguration object. 
This would be why the null pointer ends up throwing an exception when the axis 
CommonsHTTPSender attempts to test if the protocol is secure.

Has anyone seen an issue like this before? Is there something I am doing wrong 
fundamentally, or something incorrect about the data that is being passed in? 
Any thoughts or ideas would be greatly appreciated.

Thanks in advance,

Mario-

Log snip:

AXIS-MMF targetURL is https://mywebserviceurl
AXIS-MMF port is -1
AXIS-MMF hostInNonProxyList is false
AXIS-MMF hostConfiguration is HostConfiguration[proxyHost=http://proxy.customer]
AXIS-MMF hostConfiguration protocol is null
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: java.lang.NullPointerException
 faultActor: 
 faultNode: 
 faultDetail: 
{http://xml.apache.org/axis/}stackTrace:java.lang.NullPointerException
at 
org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:193)
at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)

Code snip: Lines 185 to 197 --- 193 is the 
hostConfiguration.getProtocol().isSecure() line.

if (msgContext.getMaintainSession()) {
HttpState state = httpClient.getState();

method.getParams().setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY);
String host = hostConfiguration.getHost();
String path = targetURL.getPath();
//MMF
System.out.println(AXIS-MMF hostConfiguration is 
+hostConfiguration);
System.out.println(AXIS-MMF hostConfiguration protocol is 
+hostConfiguration.getProtocol());
boolean secure = hostConfiguration.getProtocol().isSecure();
fillHeaders(msgContext, state, HTTPConstants.HEADER_COOKIE, 
host, path, secure);
fillHeaders(msgContext, state, HTTPConstants.HEADER_COOKIE2, 
host, path, secure);
httpClient.setState(state);
}





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



Re: [Axis2][Savan] Is there WS Eventing for Axis2/Java

2008-02-20 Thread Leon Searl

Hi Samir,

I'm not sure what you mean.
I assume that what you want to do is add some data to the
subscription request that the publisher/eventing service would then add
to the published data sent to a subscriber service when
an event occurs.

If you take a look
at the specification for WS-Eventing you'll
see that there is not much extra that you can put
into the subscribe request. So I doubt that
it is possible to do what you ask.

There is nothing to prevent you from adding more
operations to an eventing service where one operation
would for storing the extra data that you want
sent out with event notifications.

leon

samir shaikh wrote:

Hi Leon,

Is there a way to put a payload in the subscribe
request? I was hoping to call a service on the server
with the subscribe request.

Thanks,
Samir

--- Leon Searl [EMAIL PROTECTED] wrote:


Hi Samir,

Please look at
https://issues.apache.org/jira/browse/SAVAN-4
I've attached a couple of patches that should fix
the
savan-config.xml issue that I described below.

leon

Leon Searl wrote:

Hi Samir,

I've made several changes.

- There was a problem with the module class
  loader looking for the savan-config.xml
  file in the jar file. The config file does not

get

  included in the jar if you do a clean build.
  Although it will get included in the jar if
  you do two builds in a row without a clean
  in between.
  I changed the module class init function to
  only look for the savan-config.xml in the mar
  file.

- It is redundant to have all of the classes in
  both the jar and mar files. I made a change
  so that only the savan-module.class was in the
  mar.

- I made a change to support using ADB for the
  client, publisher and subscriber.

- I was not able to make the sample work. I
  think that something must have changed
  in axis2 1.3 to stop it from working.
  Everything works until the published messaged
  message gets to the subscriber. The message is
  getting dropped somewhere just before the
  business logic would get invoked. I believe
  that it has something to do with addressing
  being 'on' on the publisher out side but

addressing

  not being 'on' in the subscriber. But
  I'm not sure about this.

leon

samir shaikh wrote:

Leon,

I was able to make it work finally!

Just curious, what changes are you making to

Savan...

anything that is needed to get WS-Eventing going?

Samir

--- Leon Searl [EMAIL PROTECTED] wrote:


Hi Samir,

I have significantly modified
Savan so I don't have a stock jar and mar.
I'm reluctant to give you my modified Savan
since I'm sure it has bugs.

leon

samir shaikh wrote:

Leon,

I'm having trouble getting maven to work thru

my

proxy.

Can you send me the compiled jar and mar you

mention

below?

I'm assuming they'll be exactly the same if i

were

to

get mvn working also.

Samir


--- Leon Searl [EMAIL PROTECTED] wrote:


Hi Samir,

Yes, although I have not used the mar or jar

yet

so I dont know if it has any problems.

In the trunk/java directory I did the

following

command:
mvn package
The mar shows up in:


trunk/java/modules/mar/target/savan-SNAPSHOT.mar

The jar (for the service and client API) shows

up

in

trunk/java/modules/core/target/savan-SNAPSHOT.jar

The sample code gets compiled and shows up in:


trunk/java/modules/samples/target/savan-samples-SNAPSHOT.jar

This requires that you have maven installed.

I'm

also
using java 1.5.

I hope this helps.

Maybe tomorrow I'll actually try my own

service

and

client/service
to see if I can get it to work.

Other than the javadocs I have not found any

other

documentation
so you are on your own there unless someone

tells

us

where to find
some documentation. Looking at the javadocs

and

the

example the API
does not look too hard to figure out though.

leon

samir shaikh wrote:

Hi Leon,

Are you able to build the mar module file?

Thanks,
Samir

--- Leon Searl [EMAIL PROTECTED] wrote:


Hi Samir,

I just did this today.

Go to


http://ws.apache.org/savan/source-repository.html

and do the Anonymouse access svn checkout.

Down in the directory
savan/trunk/java/modules/samples/eventing/

you will find an example:

leon

samir shaikh wrote:

Does anyone have any sample code for

WS-Eventing

in

Axis2.. Some server and client sample code

will

be

great.


--- Michele Mazzucco

[EMAIL PROTECTED]

wrote:


http://ws.apache.org/savan/index.html, but

the

web

site look incomplete.

Michele


On 17 Dec 2007, at 16:46, Prince Singh

wrote:

-- Forwarded message --
From: Prince Singh

[EMAIL PROTECTED]

Date: Dec 17, 2007 6:23 PM

=== message truncated ===



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 



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

Re: [Axis2][Savan] Is there WS Eventing for Axis2/Java

2008-02-20 Thread samir shaikh
Hi Leon,

Is there a way to put a payload in the subscribe
request? I was hoping to call a service on the server
with the subscribe request.

Thanks,
Samir

--- Leon Searl [EMAIL PROTECTED] wrote:

 Hi Samir,
 
 Please look at
 https://issues.apache.org/jira/browse/SAVAN-4
 I've attached a couple of patches that should fix
 the
 savan-config.xml issue that I described below.
 
 leon
 
 Leon Searl wrote:
  Hi Samir,
  
  I've made several changes.
  
  - There was a problem with the module class
loader looking for the savan-config.xml
file in the jar file. The config file does not
 get
included in the jar if you do a clean build.
Although it will get included in the jar if
you do two builds in a row without a clean
in between.
I changed the module class init function to
only look for the savan-config.xml in the mar
file.
  
  - It is redundant to have all of the classes in
both the jar and mar files. I made a change
so that only the savan-module.class was in the
mar.
  
  - I made a change to support using ADB for the
client, publisher and subscriber.
  
  - I was not able to make the sample work. I
think that something must have changed
in axis2 1.3 to stop it from working.
Everything works until the published messaged
message gets to the subscriber. The message is
getting dropped somewhere just before the
business logic would get invoked. I believe
that it has something to do with addressing
being 'on' on the publisher out side but
 addressing
not being 'on' in the subscriber. But
I'm not sure about this.
  
  leon
  
  samir shaikh wrote:
  Leon,
 
  I was able to make it work finally!
 
  Just curious, what changes are you making to
 Savan...
  anything that is needed to get WS-Eventing going?
 
  Samir
 
  --- Leon Searl [EMAIL PROTECTED] wrote:
 
  Hi Samir,
 
  I have significantly modified
  Savan so I don't have a stock jar and mar.
  I'm reluctant to give you my modified Savan
  since I'm sure it has bugs.
 
  leon
 
  samir shaikh wrote:
  Leon,
 
  I'm having trouble getting maven to work thru
 my
  proxy.
 
  Can you send me the compiled jar and mar you
  mention
  below?
 
  I'm assuming they'll be exactly the same if i
 were
  to
  get mvn working also.
 
  Samir
 
 
  --- Leon Searl [EMAIL PROTECTED] wrote:
 
  Hi Samir,
 
  Yes, although I have not used the mar or jar
 yet
  so I dont know if it has any problems.
 
  In the trunk/java directory I did the
 following
  command:
  mvn package
  The mar shows up in:
 
 trunk/java/modules/mar/target/savan-SNAPSHOT.mar
 
  The jar (for the service and client API) shows
 up
  in
 
 trunk/java/modules/core/target/savan-SNAPSHOT.jar
 
  The sample code gets compiled and shows up in:
 
 

trunk/java/modules/samples/target/savan-samples-SNAPSHOT.jar
  This requires that you have maven installed.
 I'm
  also
  using java 1.5.
 
  I hope this helps.
 
  Maybe tomorrow I'll actually try my own
 service
  and
  client/service
  to see if I can get it to work.
 
  Other than the javadocs I have not found any
  other
  documentation
  so you are on your own there unless someone
 tells
  us
  where to find
  some documentation. Looking at the javadocs
 and
  the
  example the API
  does not look too hard to figure out though.
 
  leon
 
  samir shaikh wrote:
  Hi Leon,
 
  Are you able to build the mar module file?
 
  Thanks,
  Samir
 
  --- Leon Searl [EMAIL PROTECTED] wrote:
 
  Hi Samir,
 
  I just did this today.
 
  Go to
 
 
 http://ws.apache.org/savan/source-repository.html
  and do the Anonymouse access svn checkout.
 
  Down in the directory
  savan/trunk/java/modules/samples/eventing/
 
  you will find an example:
 
  leon
 
  samir shaikh wrote:
  Does anyone have any sample code for
  WS-Eventing
  in
  Axis2.. Some server and client sample code
  will
  be
  great.
 
 
  --- Michele Mazzucco
  [EMAIL PROTECTED]
  wrote:
 
  http://ws.apache.org/savan/index.html, but
  the
  web
  site look incomplete.
 
  Michele
 
 
  On 17 Dec 2007, at 16:46, Prince Singh
 wrote:
 
  -- Forwarded message --
  From: Prince Singh
 [EMAIL PROTECTED]
  Date: Dec 17, 2007 6:23 PM
 
=== message truncated ===



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


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



RE: [Axis2] What is the difference between various Timeouts?

2008-02-20 Thread Raghu Upadhyayula
Hi,

 

Can anyone let me know the difference between the below 3 timeouts
(Axis2 1.3).  Are they same?

 

1)
stub._getServiceClient().getOptions().setTimeOutInMilliSeconds(timeoutIn
MilliSeconds);

2)
stub._getServiceClient().getOptions().setProperty(org.apache.axis2.trans
port.http.HttpConstants.SO_TIMEOUT, timeoutInMilliSeconds);

3)
stub._getServiceClient().getOptions().setProperty(org.apache.axis2.trans
port.http.HttpConstants.CONNECTION_TIMEOUT, timeoutInMilliSeconds);

 

Thanks

Raghu



Re: How to get the properties in context.xml in the server skeleton class

2008-02-20 Thread Suriya Simsuwat
Thank Simon for your reply. I have tried it, but always got the 
java.lang.NullPointerException. Any suggestion?


  My context.xml data located in Tomcat-home\webapps\axis2\META-INF :
   
  Context
 Parameter name=xsltPath value=xslt override=false / 
/Context
   
   
  My SOAP server class : 
   
   
  /**
  * HelloServiceSkeleton java skeleton for the axisService
  */
  public class HelloServiceSkeleton implements HelloServiceSkeletonInterface {
  
  /**
  * Auto generated method signature
  
  
  * @param helloRequest
  */
  
  public com.glovia.www.hello.HelloResponse sayHello(
  com.glovia.www.hello.HelloRequest helloRequest) {
  
  System.out.println(Print properties from Tomcat context.xml); 
  
  String xsltPath = ; 
  
  try {
  MessageContext msgC = MessageContext.getCurrentMessageContext();
  
  System.out.println(Get MessageContext);
  ServletContext context = ((HttpServlet) msgC
  .getProperty(HTTPConstants.MC_HTTP_SERVLET))
  .getServletContext();
  System.out.println(Get ServletContext);
  xsltPath = context.getInitParameter(xsltPath);
  System.out.println(Get xsltPath); 
  
  xsltPath = context.getInitParameter(xsltPath);
  
  } catch (Exception e) {
  e.printStackTrace();
  }
  System.out.println(XsltPath : +xsltPath); 
  
  HelloResponse resp = new HelloResponse();
  resp.setHelloResponse(Hi + helloRequest.getHelloRequest());
  return resp;
  } 
  
  }
   
   
   
  The error message : 
   
  java.lang.NullPointerException
at com.glovia.service.HelloServiceSkeleton.sayHello(HelloServiceSkeleton
.java:48)
at com.glovia.service.HelloServiceMessageReceiverInOut.invokeBusinessLog
ic(HelloServiceMessageReceiverInOut.java:48)
at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invokeBus
inessLogic(AbstractInOutSyncMessageReceiver.java:42)
at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMe
ssageReceiver.java:96)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq
uest(HTTPTransportUtils.java:275)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:1
20)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:689)
at java.lang.Thread.run(Thread.java:595)
   
  
Simon Steinacker [EMAIL PROTECTED] wrote:
  Something like this

 MessageContext msgC=MessageContext.getCurrentContext();
 ServletContext 
context=((HttpServlet)msgC.getProperty(HTTPConstants.MC_HTTP_SERVLET)).getServletContext();

should work.
Generally speaking you can get a lot of properties concerning the 
current http and soap message by using the 
MessageContext.getProperty(...) method. Parameters taht can be used for 
this are located in org.apache.axis2.Constants or HTTPConstants or whatever.

Hope that helped,
best regards,
Simon


Suriya Simsuwat wrote:
 Hi all,

 I would like to know is it possible to get the properties' values from 
 the file 'context.xml' in \webapps\axis2\META-INF.

 The example of context.xml

 
 
 

 

 

 It said on Tomcat document that the value can be retrieved by calling 
 |ServletContext.getInitParameter(), |but I do not know how to get this 
 data via the Axis2 server skeleton class. Thank you for any help in 
 advance.

 Cheers,

 Suriya

 
 Looking for last minute shopping deals? Find them fast with Yahoo! 
 Search. 
 



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




[Axis2] Deploying multiple services under single web app (single war file)

2008-02-20 Thread Raghu Upadhyayula
Hi,

 

I'm using Axis2 1.3.  Is it possible to deploy multiple services under
single web application (I mean using single war file).

 

Here's my scenario.

 

Current situation:

Currently I have a webservice with multiple methods (one of them being
the login method).  The clients of my webservice will first call the
login method with username  password, I'll authenticate them and return
a session id in the response.  The clients use that session id (pass it
in the soap header) in all the subsequent calls within that session.

 

I want it to be changed something like this: 

I want to make the login method as a separate webservice and all the
other remaining methods in the existing webservice.  So that the clients
will call the login method (with username  password), I'll return
session id and the clients will use that session id to invoke other
webservice methods.

 

I wanted it like this because in future I'll create another webservice
which has a certificate based authentication (currently it is password
based authentication) and that webservice will authenticate the client
and also return a session id and the clients will use that session id to
invoke the other webservice methods.

 

Questions: 

1.   Is this possible with Axis2?

2.   If yes, then how should I do it?

3.   Should there be separate WSDL's, axis2.xml's, services.xml's
for each of the webservices?

4.   How to generate client stubs for such a scenario?

5.   Can the same wsdl file work for different webservices?

 

Note:  I've tried creating a serviceGroup in the service.xml but it
didn't work for me.

 

Thanks

Raghu



How do I add an issue in Jira for Axis2?

2008-02-20 Thread Tom Chappell
I'm sorry, I'm probably blind, but I did look for a way to do it for an
awfully long time.  I can see the Jira page, and search for issues, and see
all kinds of report options, but don't see a link for creating a new issue.
So, how do I do it?  Thanks!


RE: How do I add an issue in Jira for Axis2?

2008-02-20 Thread Raghu Upadhyayula
Tom,

 

The JIRA website is https://issues.apache.org/jira/



If you already have an account, login with your username 
password and you can see a menu item on top which says Create a new
issue.



If you don't have an account, you can signup for one and do
the same thing.

 

Thanks

Raghu

 



From: Tom Chappell [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 20, 2008 5:43 PM
To: axis-user@ws.apache.org
Subject: How do I add an issue in Jira for Axis2?

 

I'm sorry, I'm probably blind, but I did look for a way to do it for an
awfully long time.  I can see the Jira page, and search for issues, and
see all kinds of report options, but don't see a link for creating a new
issue.  So, how do I do it?  Thanks!



Re: [Axis2][Savan] Is there WS Eventing for Axis2/Java

2008-02-20 Thread samir shaikh
Leon,

I was just hoping to include a payload in the
subscribe request... but apparently as per the
specification thats not the way this is supposed to
work.

I also noticed that it looks like fireandforget method
is used for publishing events to the event listener.
In my case the event does not appear to be getting
processed by the listener even though a Http Status
code is being returned by the ListenerService.

I suspect this because I can see the same behavior
when I do a fireandforget vs. a sendRecieve from my
subscriber client.

Any ideas or configuration on the web server or on
savan to get around to this?

Samir


--- Leon Searl [EMAIL PROTECTED] wrote:

 Hi Samir,
 
 I'm not sure what you mean.
 I assume that what you want to do is add some data
 to the
 subscription request that the publisher/eventing
 service would then add
 to the published data sent to a subscriber service
 when
 an event occurs.
 
 If you take a look
 at the specification for WS-Eventing you'll
 see that there is not much extra that you can put
 into the subscribe request. So I doubt that
 it is possible to do what you ask.
 
 There is nothing to prevent you from adding more
 operations to an eventing service where one
 operation
 would for storing the extra data that you want
 sent out with event notifications.
 
 leon
 
 samir shaikh wrote:
  Hi Leon,
  
  Is there a way to put a payload in the subscribe
  request? I was hoping to call a service on the
 server
  with the subscribe request.
  
  Thanks,
  Samir
  
  --- Leon Searl [EMAIL PROTECTED] wrote:
  
  Hi Samir,
 
  Please look at
  https://issues.apache.org/jira/browse/SAVAN-4
  I've attached a couple of patches that should fix
  the
  savan-config.xml issue that I described below.
 
  leon
 
  Leon Searl wrote:
  Hi Samir,
 
  I've made several changes.
 
  - There was a problem with the module class
loader looking for the savan-config.xml
file in the jar file. The config file does not
  get
included in the jar if you do a clean build.
Although it will get included in the jar if
you do two builds in a row without a clean
in between.
I changed the module class init function to
only look for the savan-config.xml in the mar
file.
 
  - It is redundant to have all of the classes in
both the jar and mar files. I made a change
so that only the savan-module.class was in the
mar.
 
  - I made a change to support using ADB for the
client, publisher and subscriber.
 
  - I was not able to make the sample work. I
think that something must have changed
in axis2 1.3 to stop it from working.
Everything works until the published messaged
message gets to the subscriber. The message is
getting dropped somewhere just before the
business logic would get invoked. I believe
that it has something to do with addressing
being 'on' on the publisher out side but
  addressing
not being 'on' in the subscriber. But
I'm not sure about this.
 
  leon
 
  samir shaikh wrote:
  Leon,
 
  I was able to make it work finally!
 
  Just curious, what changes are you making to
  Savan...
  anything that is needed to get WS-Eventing
 going?
 
  Samir
 
  --- Leon Searl [EMAIL PROTECTED] wrote:
 
  Hi Samir,
 
  I have significantly modified
  Savan so I don't have a stock jar and mar.
  I'm reluctant to give you my modified Savan
  since I'm sure it has bugs.
 
  leon
 
  samir shaikh wrote:
  Leon,
 
  I'm having trouble getting maven to work thru
  my
  proxy.
 
  Can you send me the compiled jar and mar you
  mention
  below?
 
  I'm assuming they'll be exactly the same if i
  were
  to
  get mvn working also.
 
  Samir
 
 
  --- Leon Searl [EMAIL PROTECTED] wrote:
 
  Hi Samir,
 
  Yes, although I have not used the mar or jar
  yet
  so I dont know if it has any problems.
 
  In the trunk/java directory I did the
  following
  command:
  mvn package
  The mar shows up in:
 
  trunk/java/modules/mar/target/savan-SNAPSHOT.mar
  The jar (for the service and client API)
 shows
  up
  in
  trunk/java/modules/core/target/savan-SNAPSHOT.jar
  The sample code gets compiled and shows up
 in:
 
 

trunk/java/modules/samples/target/savan-samples-SNAPSHOT.jar
  This requires that you have maven installed.
  I'm
  also
  using java 1.5.
 
  I hope this helps.
 
  Maybe tomorrow I'll actually try my own
  service
  and
  client/service
  to see if I can get it to work.
 
  Other than the javadocs I have not found any
  other
  documentation
  so you are on your own there unless someone
  tells
  us
  where to find
  some documentation. Looking at the javadocs
  and
  the
  example the API
  does not look too hard to figure out though.
 
  leon
 
  samir shaikh wrote:
  Hi Leon,
 
  Are you able to build the mar module file?
 
  Thanks,
  Samir
 
  --- Leon Searl [EMAIL PROTECTED] wrote:
 
  Hi Samir,
 
  I just did this today.
 
  Go to
 
  http://ws.apache.org/savan/source-repository.html
  and do the Anonymouse access 

Returning HashMap in Axis2

2008-02-20 Thread Ajit.Kamalakant
Hi Group,

 

Could you please let me know if a method can return a HashMap under
Axis2?

I am unable to retrieve the HashMap on the client side.

 

Thanks,

Ajit

 



DISCLAIMER:
This message contains privileged and confidential information and is intended 
only for an individual named. If you are not the intended recipient, you should 
not disseminate, distribute, store, print, copy or deliver this message. Please 
notify the sender immediately by e-mail if you have received this e-mail by 
mistake and delete this e-mail from your system. E-mail transmission cannot be 
guaranteed to be secure or error-free as information could be intercepted, 
corrupted, lost, destroyed, arrive late or incomplete or contain viruses. The 
sender, therefore,  does not accept liability for any errors or omissions in 
the contents of this message which arise as a result of e-mail transmission. If 
verification is required, please request a hard-copy version.


RE: Returning HashMap in Axis2

2008-02-20 Thread Hoda, Nadeem [USA]
 
Please see:
 
http://marc.info/?l=axis-userm=119101035910688w=2
 
Thanks, 
 
Nadeem



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 21, 2008 11:10 AM
To: axis-user@ws.apache.org
Subject: Returning HashMap in Axis2



Hi Group,

 

Could you please let me know if a method can return a HashMap under
Axis2?

I am unable to retrieve the HashMap on the client side.

 

Thanks,

Ajit

 

DISCLAIMER:
This message contains privileged and confidential information and is
intended only for an individual named. If you are not the intended
recipient, you should not disseminate, distribute, store, print, copy or
deliver this message. Please notify the sender immediately by e-mail if
you have received this e-mail by mistake and delete this e-mail from
your system. E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete or contain viruses. The sender,
therefore, does not accept liability for any errors or omissions in the
contents of this message which arise as a result of e-mail transmission.
If verification is required, please request a hard-copy version.