Re: build axis2c on solaris using source code

2006-10-11 Thread Sanjaya Ratnaweera




Uditha Jayawardena wrote:

  I hav tried to configure runs but make gives errors
  


Can you please send the errors you got.

Thanks

 ~sanjaya

  
- Original Message -
From: Samisa Abeysinghe [EMAIL PROTECTED]
Date: Monday, October 9, 2006 5:59 pm
Subject: Re: build axis2c on solaris using source code

  
  
Uditha Jayawardena wrote:


  Hi 

Is there a way to build axis2c on Solaris using the source 
  

distribution for linux.



  

Did you try configure; make; make install; ?

Samisa...


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



  
  

**
The information contained in this email is confidential and is meant to be read only by the person to whom it is addressed.
Please visit http://www.millenniumit.com/legal/email.htm to read the entire confidentiality clause.
**

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


  






hi

2006-10-11 Thread ritu gaud
hello  i hv problem while loading shared libraries. i.e. i am unable to load mod_axis2.dll in apache module. I am using apache 2.0 with axis on windows.  if any1 hv idea plz help me.  bye. 
	

	
		 
Find out what India is talking about on  - Yahoo! Answers India  
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW

Problems with woden

2006-10-11 Thread Jose Miguel Sanchez Martin





Hi,


I would like to invoke a web service operation without using the
stub
generator, to that goal I am using the woden parser to parse the WSDL
file and generate the request message accordingly. But it crashes (I am
testing this on Windows). While debugging I have found the
following situation:

file: /c/woden/src/wsdl/documentable.c

I see that:

 documentable_impl_l = NULL


woden_documentable_resolve_methods(
   woden_documentable_t *documentable,
   const axis2_env_t *env,
   woden_documentable_t *documentable_impl,
   axis2_hash_t *methods)
  {
  [...]
   documentable-ops-add_documentation_element =
axis2_hash_get(methods, -- after this, add_documentation_element =
NULL
   "add_documentation_element", AXIS2_HASH_KEY_STRING);
   if (!documentable-ops-add_documentation_element
 documentable_impl_l) -- it does not enter here
   documentable-ops-add_documentation_element =
  
documentable_impl_l-documentable.ops-add_documentation_element;
  [...]
  }


after the execution of this function, the operation add_documentation_element
= NULL, then in the following function it fails:


file: /c/woden/src/builder/wsdl10_reader.c

static void *
  parse_interface_op(
   void *reader,
   const axis2_env_t *env,
   axiom_node_t *op_el_node,
   void *desc,
   void *parent)
  {
  [...]
   if (AXIS2_TRUE == axis2_qname_util_matches(env,
   q_elem_documentation, temp_el_node))
   {
   void *documentation = NULL;
  
   documentation = parse_documentation(reader, env,
temp_el_node, desc);
   op = woden_interface_op_to_documentable(op, env);
   WODEN_DOCUMENTABLE_ADD_DOCUMENTATION_ELEMENT(op, env,
documentation); -- Fails here
   }
  
  [...]
  }



The call to WODEN_DOCUMENTABLE_ADD_DOCUMENTATION_ELEMENT
fails, because the method add_documentation_element is
null.

I have tested this with my own code, as well as with the test_woden
sample program (which is very similar to my code), using different wsdl
files, for example the
googlesearch.wsdl file, and the result was always the same.

Can this be a bug or am I doing something wrong?

Thanks  regards,

jms.








Memory Leak with version1.6b

2006-10-11 Thread Markus Heinisch



Hello,

I'm new to AXIS_CPP. 
I have managed to deploy my own sample Web service with the simple axis server 
on Win XP (using Visual Studio 2005).

While testing my Web 
service with SoapUi, I discovered a memory leak!
My Web service is 
very simple and based on the class:

  class EosServiceWS 
  {public:EosServiceWS();public:virtual 
  ~EosServiceWS();public: void 
  onFault();xsd__string search(xsd__int 
  Value0);xsd__string suche(xsd__string 
  Value0);void 
  test(); 
  // --- My test case};
The class was 
generated from the WSDL file (like all server side files).
I only tested the 
method test(), which has an empty body, butI see a constant increasing 
memory consumptionwhich does not shrink.
Is it a known 
problem? on Windows? How about Linux?

Any hints to find a 
workaround are welcome.

Cheers 
Markus




Re: Memory Leak with version1.6b

2006-10-11 Thread Adrian Dick
Hi,

Have you followed the advice given here:
http://ws.apache.org/axis/cpp/arch/mem-management.html

Regards,
Adrian
___
Adrian Dick ([EMAIL PROTECTED])


Markus Heinisch [EMAIL PROTECTED] wrote on 11/10/2006
10:15:48:

 Hello,

 I'm new to AXIS_CPP. I have managed to deploy my own sample Web
 service with the simple axis server on Win XP (using Visual Studio 2005).

 While testing my Web service with SoapUi, I discovered a memory leak!
 My Web service is very simple and based on the class:
 class EosServiceWS
 {
  public:
   EosServiceWS();
  public:
   virtual ~EosServiceWS();
  public:
   void onFault();
   xsd__string search(xsd__int Value0);
   xsd__string suche(xsd__string Value0);
   void test(); // ---
 My test case
 };
 The class was generated from the WSDL file (like all server side files).
 I only tested the method test(), which has an empty body, but I see
 a constant increasing memory consumption which does not shrink.
 Is it a known problem? on Windows? How about Linux?

 Any hints to find a workaround are welcome.

 Cheers Markus




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



AW: Memory Leak with version1.6b

2006-10-11 Thread Markus Heinisch
Hi Adrian,

Thank you, I have read the page and followed the instructions. My C++ knowledge 
is more than 8 years old, so I'm not sure I catched every single instruction. 
My code is very simple:

xsd__string EosServiceWS::search(xsd__int Value0){
xsd__string retBuf = new char[100];
sprintf_s(retBuf, 100, Search: %i, Value0);

return retBuf;
}

xsd__string EosServiceWS::suche(xsd__string Value0)  {
int size = strlen(Value0) + 10;
xsd__string retBuf = new char[size];
sprintf_s((char*) retBuf, size, Suche: %s, Value0);
delete Value0;

return retBuf;
}

void EosServiceWS::test(){
cout  WS-Call to test()  endl;
}

I found the memory leak while calling method test().

Btw, I'm using Visual Studio 2005 and will switch to Visual Studio 2003.

In the mailing list I read in some postings that Xerces may cause the memory 
leak. Is that confirmed? Can I use the current version instead of xerces 2.2?

Thnaks,

Markus

 

 -Ursprüngliche Nachricht-
 Von: Adrian Dick [mailto:[EMAIL PROTECTED] 
 Gesendet: Mittwoch, 11. Oktober 2006 12:38
 An: Apache AXIS C User List
 Betreff: Re: Memory Leak with version1.6b
 
 Hi,
 
 Have you followed the advice given here:
 http://ws.apache.org/axis/cpp/arch/mem-management.html
 
 Regards,
 Adrian
 ___
 Adrian Dick ([EMAIL PROTECTED])
 
 
 Markus Heinisch [EMAIL PROTECTED] wrote on 11/10/2006
 10:15:48:
 
  Hello,
 
  I'm new to AXIS_CPP. I have managed to deploy my own sample Web 
  service with the simple axis server on Win XP (using Visual 
 Studio 2005).
 
  While testing my Web service with SoapUi, I discovered a 
 memory leak!
  My Web service is very simple and based on the class:
  class EosServiceWS
  {
   public:
EosServiceWS();
   public:
virtual ~EosServiceWS();
   public:
void onFault();
xsd__string search(xsd__int Value0);
xsd__string suche(xsd__string Value0);
void test(); // ---
  My test case
  };
  The class was generated from the WSDL file (like all server 
 side files).
  I only tested the method test(), which has an empty body, 
 but I see a 
  constant increasing memory consumption which does not shrink.
  Is it a known problem? on Windows? How about Linux?
 
  Any hints to find a workaround are welcome.
 
  Cheers Markus
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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



[Axis2][Fwd: hi]

2006-10-11 Thread Samisa Abeysinghe

Forwarding with correct prefix

 Original Message 
Subject:hi
Date:   Wed, 11 Oct 2006 07:39:41 +0100 (BST)
From:   ritu gaud [EMAIL PROTECTED]
Reply-To:   Apache AXIS C User List axis-c-user@ws.apache.org
To: axis-c-user@ws.apache.org



hello
i hv problem while loading shared libraries. i.e. i am unable to load 
mod_axis2.dll in apache module. I am using apache 2.0 with axis on windows.

if any1 hv idea plz help me.
bye.


Find out what India is talking about on - Yahoo! Answers India 
http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. 
Get it NOW 
http://us.rd.yahoo.com/mail/in/messengertagline/*http://in.messenger.yahoo.com 



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



[Fwd: Problems with woden]

2006-10-11 Thread Samisa Abeysinghe

Forwarding with correct prefix.

Samisa...

 Original Message 
Subject:Problems with woden
Date:   Wed, 11 Oct 2006 10:57:00 +0200
From:   Jose Miguel Sanchez Martin [EMAIL PROTECTED]
Reply-To:   Apache AXIS C User List axis-c-user@ws.apache.org
To: axis-c-user@ws.apache.org




Hi,

I would like to invoke a web service operation without using the stub 
generator, to that goal I am using the woden parser to parse the WSDL 
file and generate the request message accordingly. But it crashes (I am 
testing this on Windows). While debugging I have found the following 
situation:


file: /c/woden/src/wsdl/documentable.c

I see that:

   documentable_impl_l = NULL

   woden_documentable_resolve_methods(
   woden_documentable_t *documentable,
   const axis2_env_t *env,
   woden_documentable_t *documentable_impl,
   axis2_hash_t *methods)
   {
   [...]
   documentable-ops-add_documentation_element =
   axis2_hash_get(methods, -- after this, add_documentation_element = NULL
   add_documentation_element, AXIS2_HASH_KEY_STRING);
   if (!documentable-ops-add_documentation_element 
   documentable_impl_l) -- it does not enter here
   documentable-ops-add_documentation_element =
  
   documentable_impl_l-documentable.ops-add_documentation_element;

   [...]
   }


after the execution of this function, the operation 
add_documentation_element = NULL, then in the following function it fails:



file: /c/woden/src/builder/wsdl10_reader.c

   static void *
   parse_interface_op(
   void *reader,
   const axis2_env_t *env,
   axiom_node_t *op_el_node,
   void *desc,
   void *parent)
   {
   [...]
   if (AXIS2_TRUE == axis2_qname_util_matches(env,
   q_elem_documentation, temp_el_node))
   {
   void *documentation = NULL;

   documentation = parse_documentation(reader, env,
   temp_el_node, desc);
   op = woden_interface_op_to_documentable(op, env);
   WODEN_DOCUMENTABLE_ADD_DOCUMENTATION_ELEMENT(op, env,
   documentation); -- Fails here
   }

   [...]
   }



The call to WODEN_DOCUMENTABLE_ADD_DOCUMENTATION_ELEMENT fails, because 
the method add_documentation_element is null.


I have tested this with my own code, as well as with the test_woden 
sample program (which is very similar to my code), using different wsdl 
files, for example the googlesearch.wsdl file, and the result was always 
the same.


Can this be a bug or am I doing something wrong?

Thanks  regards,

jms.




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



[Axis2][Fwd: Problems with woden]

2006-10-11 Thread Samisa Abeysinghe

Forwarding with correct prefix; again ;)

 Original Message 
Subject:Problems with woden
Date:   Wed, 11 Oct 2006 10:57:00 +0200
From:   Jose Miguel Sanchez Martin [EMAIL PROTECTED]
Reply-To:   Apache AXIS C User List axis-c-user@ws.apache.org
To: axis-c-user@ws.apache.org




Hi,

I would like to invoke a web service operation without using the stub 
generator, to that goal I am using the woden parser to parse the WSDL 
file and generate the request message accordingly. But it crashes (I am 
testing this on Windows). While debugging I have found the following 
situation:


file: /c/woden/src/wsdl/documentable.c

I see that:

   documentable_impl_l = NULL

   woden_documentable_resolve_methods(
   woden_documentable_t *documentable,
   const axis2_env_t *env,
   woden_documentable_t *documentable_impl,
   axis2_hash_t *methods)
   {
   [...]
   documentable-ops-add_documentation_element =
   axis2_hash_get(methods, -- after this, add_documentation_element = NULL
   add_documentation_element, AXIS2_HASH_KEY_STRING);
   if (!documentable-ops-add_documentation_element 
   documentable_impl_l) -- it does not enter here
   documentable-ops-add_documentation_element =
  
   documentable_impl_l-documentable.ops-add_documentation_element;

   [...]
   }


after the execution of this function, the operation 
add_documentation_element = NULL, then in the following function it fails:



file: /c/woden/src/builder/wsdl10_reader.c

   static void *
   parse_interface_op(
   void *reader,
   const axis2_env_t *env,
   axiom_node_t *op_el_node,
   void *desc,
   void *parent)
   {
   [...]
   if (AXIS2_TRUE == axis2_qname_util_matches(env,
   q_elem_documentation, temp_el_node))
   {
   void *documentation = NULL;

   documentation = parse_documentation(reader, env,
   temp_el_node, desc);
   op = woden_interface_op_to_documentable(op, env);
   WODEN_DOCUMENTABLE_ADD_DOCUMENTATION_ELEMENT(op, env,
   documentation); -- Fails here
   }

   [...]
   }



The call to WODEN_DOCUMENTABLE_ADD_DOCUMENTATION_ELEMENT fails, because 
the method add_documentation_element is null.


I have tested this with my own code, as well as with the test_woden 
sample program (which is very similar to my code), using different wsdl 
files, for example the googlesearch.wsdl file, and the result was always 
the same.


Can this be a bug or am I doing something wrong?

Thanks  regards,

jms.




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



Re: [Axis2]swa reply

2006-10-11 Thread Martin Voelkle

Martin Voelkle wrote:
 Hello

 I am trying to access a SOAP 1.1 service which replies with a swa
 attachment.
Axis2/C does not support SwA as such.
We only have support for attachments with XOP/MTOM.

Please have a look at our MROM sample.


Thanks for the info.

I had read that MTOM was compatible with SwA [1]. Did I understand
something wrong?

I cannot change the service to use MTOM. Are there plans to support SwA?

Thanks,

Martin

[1] http://ws.apache.org/axis2/1_0/mtom-guide.html#3
We can safely assume that any SOAP with Attachments endpoint can
accept a MTOM optimized messages and treat them as SOAP with
Attachment messages - Any MTOM optimized message is a valid SwA
message.

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



Re: [Axis2][Fwd: Problems with woden]

2006-10-11 Thread Samisa Abeysinghe

Samisa Abeysinghe wrote:

Hi,

I would like to invoke a web service operation without using the stub 
generator, to that goal I am using the woden parser to parse the WSDL 
file and generate the request message accordingly. But it crashes (I 
am testing this on Windows). While debugging I have found the 
following situation:
It looks to me that what you have pointed out are bugs. Could you please 
log Jira issues on them please.


Thanks,
Samisa...


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



Re: [Axis2]swa reply

2006-10-11 Thread Samisa Abeysinghe

Martin Voelkle wrote:

Martin Voelkle wrote:
 Hello

 I am trying to access a SOAP 1.1 service which replies with a swa
 attachment.
Axis2/C does not support SwA as such.
We only have support for attachments with XOP/MTOM.

Please have a look at our MROM sample.


Thanks for the info.

I had read that MTOM was compatible with SwA [1]. Did I understand
something wrong?
Well it is a Java document that you are referring to. I am afraid that 
we do not have this support in C implementation. :(
However, looking at the Java code, it looks to me that it would be 
possible to achieve this, because we have the same architecture and we 
can do more or less the same operations in OM. But this would take time 
- we should raise a Jira on this and see if anyone could solve this 
situation.




I cannot change the service to use MTOM. Are there plans to support SwA?
We do not have immediate plans on our cards. Anyway, please raise a Jira 
on this.


Thanks,
Samisa...



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



Re: [Axis2]swa reply

2006-10-11 Thread Martin Voelkle

 I had read that MTOM was compatible with SwA [1]. Did I understand
 something wrong?
Well it is a Java document that you are referring to. I am afraid that
we do not have this support in C implementation. :(
However, looking at the Java code, it looks to me that it would be
possible to achieve this, because we have the same architecture and we
can do more or less the same operations in OM. But this would take time
- we should raise a Jira on this and see if anyone could solve this
situation.

 I cannot change the service to use MTOM. Are there plans to support SwA?
We do not have immediate plans on our cards. Anyway, please raise a Jira
on this.


Done!

Thanks,

Martin

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



using WSDL2Code -l c generates some java some C code... Help need

2006-10-11 Thread Sharad Baronia








Hi,



 When I uses WSDL2Code in Axis2/Java 1.1 rC1, to
generate C code, it generates some part as Java and some part as C code.

 Mostly the xml scheme, and IN  OUT
parameter are generated as Java code, whereas stub, and skeleton is generated
as C code.



Command Line:

 wsdl2code -o d:\sbaronia\c -a -l c -ss -sd -d
adb -u -uri D:\sbaronia\workspace\test\corporateaction.wsdl



Help need



/Sharad





___

All outbound Email is scanned by Nexa Technologies Email Security Systems.
___




?xml version=1.0 encoding=UTF-8?
!-- edited with XMLSpy v2006 rel. 3 sp2 (http://www.altova.com) by Sharad Baronia (Nexa) --
wsdl:definitions xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns:tns=http://www.nexa.com/corporateaction/; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; targetNamespace=http://www.nexa.com/corporateaction/; name=corporateaction
	wsdl:types
		xsd:schema xmlns:ns1=http://schemas.xmlsoap.org/soap/encoding/; targetNamespace=http://www.nexa.com/corporateaction/;
			xsd:complexType name=CorporateActionDate
xsd:sequence
	xsd:element name=record-date type=xsd:date minOccurs=0 maxOccurs=1/
	xsd:element name=ex-date type=xsd:date minOccurs=0 maxOccurs=1/
	xsd:element name=payment-date type=xsd:date minOccurs=0 maxOccurs=1/
/xsd:sequence
			/xsd:complexType
			xsd:complexType name=CorporateActionGeneralData
xsd:sequence
	xsd:element name=symbol type=xsd:string maxOccurs=1/
	xsd:element name=instrument-type type=xsd:string maxOccurs=1/
	xsd:element name=exchange type=xsd:string minOccurs=0 maxOccurs=1/
	xsd:element name=cusip type=xsd:string minOccurs=0 maxOccurs=1/
	xsd:element name=action-date type=tns:CorporateActionDate minOccurs=0 maxOccurs=1/
	xsd:element name=declaration-date type=xsd:date minOccurs=0 maxOccurs=1/
	xsd:element name=update-date type=xsd:date minOccurs=0 maxOccurs=1/
	xsd:element name=cancelled-date type=xsd:date minOccurs=0 maxOccurs=1/
	!-- Action-Type: 
			CashDividend=XC
			StockDividend=XS
			StockSplit=SS
			SymbolChange=SC
			NameChange=NC
	--
	xsd:element name=action-type type=xsd:string maxOccurs=1/
/xsd:sequence
			/xsd:complexType
			xsd:complexType name=CorporateActionDetailInfo
xsd:sequence
	!-- Value: 
			CashDividend=0.35 (dollar per share)
			StockDividend=3:2 (Ratio)
			StockSplit=3:2 (Ratio)
			SymbolChange=NewSymbol
			NameChange=Name
	--
	xsd:element name=value type=xsd:string minOccurs=0 maxOccurs=1/
	xsd:element name=payment-freq type=xsd:string minOccurs=0 maxOccurs=1/
	xsd:element name=currency type=xsd:string minOccurs=0 maxOccurs=1/
/xsd:sequence
			/xsd:complexType
			xsd:complexType name=CorporateActionDataInfo
xsd:sequence
	xsd:element name=general type=tns:CorporateActionGeneralData maxOccurs=1/
	xsd:element name=detail type=tns:CorporateActionDetailInfo maxOccurs=1/
/xsd:sequence
			/xsd:complexType
			xsd:complexType name=ArrayOfCorporateActionInfo
xsd:sequence
	xsd:element name=info type=tns:CorporateActionDataInfo minOccurs=0 maxOccurs=unbounded/
/xsd:sequence
			/xsd:complexType
			!-- fault element --
			xsd:element name=CorporateActionException
xsd:complexType
	xsd:sequence
		!-- Cause: 
			AuthenticationError=1
			ServiceNotFound=2
			DataNotFound=3
		--
		xsd:element name=cause type=xsd:int/
		xsd:element name=msgtxt type=xsd:string/
	/xsd:sequence
/xsd:complexType
			/xsd:element
		/xsd:schema
	/wsdl:types
	wsdl:message name=GetCorporateActionsRequest
		wsdl:part name=bDetailedInfo type=xsd:boolean/
	/wsdl:message
	wsdl:message name=GetCorporateActionsResponse
		wsdl:part name=calist type=tns:ArrayOfCorporateActionInfo/
	/wsdl:message
	wsdl:message name=GetCorporateActionsByExDateRequest
		wsdl:part name=exDate type=xsd:date/
		wsdl:part name=bDetailedInfo type=xsd:boolean/
	/wsdl:message
	wsdl:message name=GetCorporateActionsByActionTypeRequest
		wsdl:part name=actionType type=xsd:string/
		wsdl:part name=bDetailedInfo type=xsd:boolean/
	/wsdl:message
	wsdl:message name=GetCorporateActionsByActionTypeAndExDateRequest
		wsdl:part name=actionType type=xsd:string/
		wsdl:part name=exDate type=xsd:date/
		wsdl:part name=bDetailedInfo type=xsd:boolean/
	/wsdl:message
	wsdl:message name=GetCorporateActionsBySymbolRequest
		wsdl:part name=symbol type=xsd:string/
		wsdl:part name=exchange type=xsd:string/
		wsdl:part name=bDetailedInfo type=xsd:boolean/
	/wsdl:message
	wsdl:message name=GetCorporateActionsBySymbolAndExDateRequest
		wsdl:part name=symbol type=xsd:string/
		wsdl:part name=exchange type=xsd:string/
		wsdl:part name=exDate type=xsd:date/
		wsdl:part name=bDetailedInfo type=xsd:boolean/
	/wsdl:message
	wsdl:message 

[Axis2][Fwd: using WSDL2Code -l c generates some java some C code... Help need]

2006-10-11 Thread Samisa Abeysinghe

Prefix fixed!

 Original Message 
Subject:using generates some java  some C code... Help need
Date:   Wed, 11 Oct 2006 14:11:35 -0700
From:   Sharad Baronia [EMAIL PROTECTED]
Reply-To:   Apache AXIS C User List axis-c-user@ws.apache.org
To: axis-c-user@ws.apache.org



Hi,

When I uses WSDL2Code in Axis2/Java 1.1 rC1, to generate C code, it 
generates some part as Java and some part as C code.


Mostly the xml scheme, and IN  OUT parameter are generated as Java 
code, whereas stub, and skeleton is generated as C code.


Command Line:

wsdl2code -o d:\sbaronia\c -a -l c -ss -sd -d adb -u -uri 
D:\sbaronia\workspace\test\corporateaction.wsdl


Help need…

/Sharad


___

All outbound Email is scanned by Nexa Technologies Email Security Systems.
___

?xml version=1.0 encoding=UTF-8?
!-- edited with XMLSpy v2006 rel. 3 sp2 (http://www.altova.com) by Sharad Baronia (Nexa) --
wsdl:definitions xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns:tns=http://www.nexa.com/corporateaction/; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; targetNamespace=http://www.nexa.com/corporateaction/; name=corporateaction
	wsdl:types
		xsd:schema xmlns:ns1=http://schemas.xmlsoap.org/soap/encoding/; targetNamespace=http://www.nexa.com/corporateaction/;
			xsd:complexType name=CorporateActionDate
xsd:sequence
	xsd:element name=record-date type=xsd:date minOccurs=0 maxOccurs=1/
	xsd:element name=ex-date type=xsd:date minOccurs=0 maxOccurs=1/
	xsd:element name=payment-date type=xsd:date minOccurs=0 maxOccurs=1/
/xsd:sequence
			/xsd:complexType
			xsd:complexType name=CorporateActionGeneralData
xsd:sequence
	xsd:element name=symbol type=xsd:string maxOccurs=1/
	xsd:element name=instrument-type type=xsd:string maxOccurs=1/
	xsd:element name=exchange type=xsd:string minOccurs=0 maxOccurs=1/
	xsd:element name=cusip type=xsd:string minOccurs=0 maxOccurs=1/
	xsd:element name=action-date type=tns:CorporateActionDate minOccurs=0 maxOccurs=1/
	xsd:element name=declaration-date type=xsd:date minOccurs=0 maxOccurs=1/
	xsd:element name=update-date type=xsd:date minOccurs=0 maxOccurs=1/
	xsd:element name=cancelled-date type=xsd:date minOccurs=0 maxOccurs=1/
	!-- Action-Type: 
			CashDividend=XC
			StockDividend=XS
			StockSplit=SS
			SymbolChange=SC
			NameChange=NC
	--
	xsd:element name=action-type type=xsd:string maxOccurs=1/
/xsd:sequence
			/xsd:complexType
			xsd:complexType name=CorporateActionDetailInfo
xsd:sequence
	!-- Value: 
			CashDividend=0.35 (dollar per share)
			StockDividend=3:2 (Ratio)
			StockSplit=3:2 (Ratio)
			SymbolChange=NewSymbol
			NameChange=Name
	--
	xsd:element name=value type=xsd:string minOccurs=0 maxOccurs=1/
	xsd:element name=payment-freq type=xsd:string minOccurs=0 maxOccurs=1/
	xsd:element name=currency type=xsd:string minOccurs=0 maxOccurs=1/
/xsd:sequence
			/xsd:complexType
			xsd:complexType name=CorporateActionDataInfo
xsd:sequence
	xsd:element name=general type=tns:CorporateActionGeneralData maxOccurs=1/
	xsd:element name=detail type=tns:CorporateActionDetailInfo maxOccurs=1/
/xsd:sequence
			/xsd:complexType
			xsd:complexType name=ArrayOfCorporateActionInfo
xsd:sequence
	xsd:element name=info type=tns:CorporateActionDataInfo minOccurs=0 maxOccurs=unbounded/
/xsd:sequence
			/xsd:complexType
			!-- fault element --
			xsd:element name=CorporateActionException
xsd:complexType
	xsd:sequence
		!-- Cause: 
			AuthenticationError=1
			ServiceNotFound=2
			DataNotFound=3
		--
		xsd:element name=cause type=xsd:int/
		xsd:element name=msgtxt type=xsd:string/
	/xsd:sequence
/xsd:complexType
			/xsd:element
		/xsd:schema
	/wsdl:types
	wsdl:message name=GetCorporateActionsRequest
		wsdl:part name=bDetailedInfo type=xsd:boolean/
	/wsdl:message
	wsdl:message name=GetCorporateActionsResponse
		wsdl:part name=calist type=tns:ArrayOfCorporateActionInfo/
	/wsdl:message
	wsdl:message name=GetCorporateActionsByExDateRequest
		wsdl:part name=exDate type=xsd:date/
		wsdl:part name=bDetailedInfo type=xsd:boolean/
	/wsdl:message
	wsdl:message name=GetCorporateActionsByActionTypeRequest
		wsdl:part name=actionType type=xsd:string/
		wsdl:part name=bDetailedInfo type=xsd:boolean/
	/wsdl:message
	wsdl:message name=GetCorporateActionsByActionTypeAndExDateRequest
		wsdl:part name=actionType type=xsd:string/
		wsdl:part name=exDate type=xsd:date/
		wsdl:part name=bDetailedInfo type=xsd:boolean/
	/wsdl:message
	wsdl:message name=GetCorporateActionsBySymbolRequest
		wsdl:part name=symbol type=xsd:string/
		wsdl:part name=exchange type=xsd:string/
		wsdl:part name=bDetailedInfo type=xsd:boolean/
	

Re: [Axis2] Summery of todays Hackathon

2006-10-11 Thread Deepal Jayasinghe

As Dennis suggested , having annon name as public static seems not that
good , so we need to remove them I mean we need to make the private.



Sorry I don't understand what you're referring to. If its the constants
we used to make the simple API work then I don't agree there's any
problem.
  

I mean we want to make those public variable into private , currently
there are four public static variable with annon name.

  

Rather than giving two client API to client cant we have one API , we
can have all the methods in serviceClient then no one need to know about
the operationClient (service client will use that internally ). So our
proposal is to add few more methods into ServiceCleint;

public MessageContext sendReceive(MessageContext req){}
public void sendReceiveNonBlocking(MessageContext req){}
public fireAndForget(MessageContext req){}
public sendRobust(MessageContext req){}



This only works for the 4 built-in MEPs. Have we decided to narrow Axis2
down to the built in MEPs? If so half of the machinery in Axis2 can be
removed. 
  

I didnt mean it , what I mean was those are the most commonly use MEP so
adding those method into ServiceClinet provide a way to access message
context and SOAPEnvelop w.o creating operation client. Yes , I agree
that adding four methods make service client API bit ugly :)

  

if we introduce these methods into ServiceClient then we do not too much
worry about how to create operationClient etc...

I am +1 on adding these four methods in to serviceClient.



Sorry, I'm -1 to this change. No way. It fundamentally breaks the client
API 
  

Then forget abt that , I do not really want to break any fundamental design.



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



RE: [Axis2] RPCMessageReceiver is missing

2006-10-11 Thread Kedar, Shahar
Thanks Chinthaka,

I found the JAR in the normal distribution. Why is not included in the
minimal distribution??

Thanks,
Shahar Kedar

-Original Message-
From: Eran Chinthaka [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 10, 2006 1:16 PM
To: axis-user@ws.apache.org
Subject: Re: [Axis2] RPCMessageReceiver is missing

Kedar, Shahar wrote:

 
 I'm using the latest nightly, and I was surprised to find that
 RPCMessageReceiver no longer exists!! Was it finally decided NOT to
 support RPCMessage (only raw xml)?

Which distribution are you talking about here?

If it is the std distro, then it should be within the
axis2-codegen-1.1.jar, as Dims mentioned.

-- Chinthaka


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



eclipse plugin

2006-10-11 Thread VF
Hi, I used eclipse plugin from Axis2 RC 1.1 to generate java classes with
ADB databinding from wsdl and it seems there are problem with ConvertUtil
methodes. For example it generates:

1.

org.apache.axis2.databinding.utils.ConverterUtil.convertTostring (letter
case is bad)

should be

org.apache.axis2.databinding.utils.ConverterUtil.convertToString.

2.

org.apache.axis2.databinding.utils.ConverterUtil.convertToBigDecimal(doesnt
exists)

should be(maybe?)

org.apache.axis2.databinding.utils.ConverterUtil.convertToDecimal

3. letter case again

The method convertTodate(String) is undefined for the type ConverterUtil
ddsax2/src/stkws/axtypesGetAccountInfoRequest.java  line 147
1160479974787   18462


4.
Methode getElement for Stub is not generated?

The method getElement(SOAPEnvelope, String) is undefined for the type
StkddsStub  ddsax2/src/stkws/axws   StkddsStub.java line 1070
1160479974056   18198


Thank you for response


 Vladi




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



Axis 1.4 Java2WSDL default typemapping

2006-10-11 Thread Banck, Arent-Jan
Hi,
The reference.html Java2WSDL Reference says:
-T, --typeMappingVersion 
indicate 1.1 or 1.2.  The default is 1.1 (SOAP 1.1
JAX-RPC
compliant  1.2 indicates SOAP 1.1 encoded.)
But when I try to use Java2WSDL it seems the default is 1.2. Is this an
error in the documentation?

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



Re: [Axis2] RPCMessageReceiver is missing

2006-10-11 Thread Thilina Gunarathne

Just now we moved it to the ADB... So here after it'll be included in
the minimal distro...

~Thilina

On 10/11/06, Kedar, Shahar [EMAIL PROTECTED] wrote:

Thanks Chinthaka,

I found the JAR in the normal distribution. Why is not included in the
minimal distribution??

Thanks,
Shahar Kedar

-Original Message-
From: Eran Chinthaka [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 10, 2006 1:16 PM
To: axis-user@ws.apache.org
Subject: Re: [Axis2] RPCMessageReceiver is missing

Kedar, Shahar wrote:


 I'm using the latest nightly, and I was surprised to find that
 RPCMessageReceiver no longer exists!! Was it finally decided NOT to
 support RPCMessage (only raw xml)?

Which distribution are you talking about here?

If it is the std distro, then it should be within the
axis2-codegen-1.1.jar, as Dims mentioned.

-- Chinthaka


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





--
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

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



Re: eclipse plugin

2006-10-11 Thread Lahiru Sandakith Gallege

hi Vladi,
can you pls attach the wsdl that you are using to codegen.
Thanks
Lahiru Sandakith

On 10/11/06, VF [EMAIL PROTECTED] wrote:

Hi, I used eclipse plugin from Axis2 RC 1.1 to generate java classes with
ADB databinding from wsdl and it seems there are problem with ConvertUtil
methodes. For example it generates:

1.

org.apache.axis2.databinding.utils.ConverterUtil.convertTostring (letter
case is bad)

should be

org.apache.axis2.databinding.utils.ConverterUtil.convertToString.

2.

org.apache.axis2.databinding.utils.ConverterUtil.convertToBigDecimal(doesnt
exists)

should be(maybe?)

org.apache.axis2.databinding.utils.ConverterUtil.convertToDecimal

3. letter case again

The method convertTodate(String) is undefined for the type ConverterUtil
ddsax2/src/stkws/axtypesGetAccountInfoRequest.java  line 147
1160479974787   18462


4.
Methode getElement for Stub is not generated?

The method getElement(SOAPEnvelope, String) is undefined for the type
StkddsStub  ddsax2/src/stkws/axws   StkddsStub.java line 1070
1160479974056   18198


Thank you for response


 Vladi




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





--
Regards
Lahiru Sandakith

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



Java2WSDL is Missing in Axis2

2006-10-11 Thread Ramesh Gurunathan

Hi All,

I am using axis2 version 1.0. I could not find Java2WSDL class in the
documentation. It looks like the class is missing. Any ideas why?

Also, the eclipse plugin for Generate a WSDL from a Java source file
throws InvocationTargetException. It doesn't show the exception stack
trace.

Any help is much appreciated

Ramesh

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



Re: WS Addressing :: http requests response (ReplyTo) on JMS protocol

2006-10-11 Thread Ali Sadik Kumlali
Hi Vaibhav,

- Do you use Axis2? If so, please add [Axis2] to the mail subject for easier 
follow up. Following questions assume you are using Axis2.
- What kind of MEP do you use? If I understand correctly, you use in-out MEP.
- Do you expect nonBlockingDualClient to listents to the response over a MDB 
instead of creating a listener by itself?

Regards,

Ali Sadik Kumlali

- Original Message 
From: Vaibhav Pandey [EMAIL PROTECTED]
To: Axis-User axis-user@ws.apache.org
Sent: Wednesday, October 11, 2006 8:31:10 AM
Subject: WS Addressing :: http requests response (ReplyTo) on JMS protocol 

Hi All,
I am working on a scenario were my nonBlockingDualClient sends a http
request to a WS and the response should go to a JMS listener listening on a
different port. in short i want the response to go via JMS into the
queue on which my listener is listening so that i can do some processing on
it as and when it arrives at MDB's OnMessage().

I have already implemented an HTTP to HTTP scenario and m in need of some
guidance in this HTTP-JMS scenario on the configurations required in my
client to forward the request on JMS.

Any help is highly appreciated !!


Regards,
Vaibhav



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







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



[Axis2] ADB properties file location

2006-10-11 Thread Kedar, Shahar








Hi,



Where
can I put a custom properties file for the ADB framework? What should be the
value of org.apache.adb.properties in each case?



Thanks,

Shahar
Kedar








Re: [Axis2] Convering DOM Element to OMElement

2006-10-11 Thread Ruchith Fernando

On 10/11/06, Ruchith Fernando [EMAIL PROTECTED] wrote:

yep ...+1 to move these util methods to o.a.a2.util.XMLUtils

Lets move the following :

OMElement toOM(Element)
Element toDOM(OMElement)


Done !

Thanks,
Ruchith

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



RE: [Axis2] RPCMessageReceiver is missing

2006-10-11 Thread Kedar, Shahar
Thanks Thilina for the update.

-Original Message-
From: Thilina Gunarathne [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 11, 2006 11:36 AM
To: axis-user@ws.apache.org
Subject: Re: [Axis2] RPCMessageReceiver is missing

Just now we moved it to the ADB... So here after it'll be included in
the minimal distro...

~Thilina

On 10/11/06, Kedar, Shahar [EMAIL PROTECTED] wrote:
 Thanks Chinthaka,

 I found the JAR in the normal distribution. Why is not included in the
 minimal distribution??

 Thanks,
 Shahar Kedar

 -Original Message-
 From: Eran Chinthaka [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 10, 2006 1:16 PM
 To: axis-user@ws.apache.org
 Subject: Re: [Axis2] RPCMessageReceiver is missing

 Kedar, Shahar wrote:

 
  I'm using the latest nightly, and I was surprised to find that
  RPCMessageReceiver no longer exists!! Was it finally decided NOT to
  support RPCMessage (only raw xml)?

 Which distribution are you talking about here?

 If it is the std distro, then it should be within the
 axis2-codegen-1.1.jar, as Dims mentioned.

 -- Chinthaka


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




-- 
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

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


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



Re: WS Addressing :: http requests response (ReplyTo) on JMS protocol

2006-10-11 Thread Brian De Pradine

Hello Vaibhav,

I don't think that there is any documentation
covering this scenario at the moment, but feel free to contribute some
when you finally get it working :-)

I would expect the scenario to work,
using axis2 1.1, even though I am not sure how you would go about setting
up the JMS resources that you would need. (however, I believe that you
will find some information on that here [1].)

As far as addressing is concerned, you
should set up your client exactly as you did for your HTTP - HTTP scenario,
except this time the address of your ReplyTo EPR should be a URI of the
form jms:.

[1] http://svn.apache.org/repos/asf/webservices/axis2/branches/java/1_1/xdocs/1_1/jms-transport.html

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 11/10/2006 06:31:10:

 Hi All,
 I am working on a scenario were my nonBlockingDualClient sends a http
 request to a WS and the response should go to a JMS listener listening
on a
 different port. in short i want the response to go via JMS into
the
 queue on which my listener is listening so that i can do some processing
on
 it as and when it arrives at MDB's OnMessage().
 
 I have already implemented an HTTP to HTTP scenario and m in need
of some
 guidance in this HTTP-JMS scenario on the configurations required
in my
 client to forward the request on JMS.
 
 Any help is highly appreciated !!
 
 
 Regards,
 Vaibhav
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


RE: axis2-RC1 problem, tcp server does not recognize deployed services

2006-10-11 Thread Yadav, Yogendra \(IT\)
I can't download bat file, blocked.
 

-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 10, 2006 12:29 PM
To: axis-user@ws.apache.org
Subject: Re: axis2-RC1 problem, tcp server does not recognize deployed
services

Yogen,

Can you please try this bat file:
http://svn.apache.org/repos/asf/webservices/axis2/branches/java/1_1/modu
les/tool/script/tcp-server.bat

Thanks,
dims

On 10/9/06, Yadav, Yogendra (IT) [EMAIL PROTECTED]
wrote:



 the tcp-server.bat file should be modified to:
 line this
 %_RUNJAVA% %JAVA_OPTS% -cp %AXIS2_CLASS_PATH% 
 org.apache.axis2.transport.tcp.TCPServer %AXIS2_HOME% 6060
 %*
 changed to
 %_RUNJAVA% %JAVA_OPTS% -cp %AXIS2_CLASS_PATH% 
 org.apache.axis2.transport.tcp.TCPServer
 %AXIS2_HOME%/repository 6060 %*



  
  From: Yadav, Yogendra (IT)
 Sent: Monday, October 09, 2006 3:01 PM
 To: axis-user@ws.apache.org
 Subject: axis2-RC1 problem, tcp server does not recognize deployed 
 services




 I am testing axis2-RC1. I have copied Axis2SampleDocLitService.aar and

 MyService.aar in C:\software\axis2-rc1\repository\services
 directory.

 Now I have started HTTP Server and TCP Server using commands start.bat

 and tcp-server.bat. I see different outputs displayed for the two 
 commands, my question, is this right, looks like TCP server has not 
 recognized any of the .aar files.

 Display when tcp-server.bat is run:
 ---
 C:\software\axis2-rc1\bintcp-server.bat
 Using AXIS2_HOME:   C:\software\axis2-rc1
 Using JAVA_HOME:C:\Program Files\AFSMirror\sunjdk\1.5.0_04
 Oct 9, 2006 2:01:38 PM
 org.apache.axis2.deployment.DeploymentEngine
 prepareRepository
 INFO: no services directory found , new one created Oct 9, 2006 
 2:01:38 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
 INFO: Deploying module : addressing-1.09 [Axis2] Using the Repository 
 C:\software\axis2-rc1 [Axis2] Starting the TCP Server on port 6060


 Display when tcp-server.bat is run:
 ---
 C:\software\axis2-rc1\binstart.bat
 Using AXIS2_HOME:   C:\software\axis2-rc1
 Using JAVA_HOME:C:\Program Files\AFSMirror\sunjdk\1.5.0_04
 [SimpleHTTPServer] Starting
 [SimpleHTTPServer] Using the Axis2 Repository
 C:\software\axis2-rc1\repository
 [SimpleHTTPServer] Listening on port 8080
 Oct 9, 2006 2:52:52 PM
 org.apache.axis2.deployment.DeploymentEngine
 prepareRepository
 INFO: no modules directory found , new one created
 Oct 9, 2006 2:52:52 PM
 org.apache.axis2.deployment.DeploymentEngine doDeploy
 INFO: Deploying module : addressing-1.09
 Oct 9, 2006 2:52:53 PM
 org.apache.axis2.deployment.DeploymentEngine doDeploy
 INFO: Deploying Web service  Axis2SampleDocLitService.aar
 Oct 9, 2006 2:52:53 PM
 org.apache.axis2.deployment.DeploymentEngine doDeploy
 INFO: Deploying Web service  MyService.aar
 [SimpleHTTPServer] Started
 Oct 9, 2006 2:52:53 PM
 org.apache.axis2.transport.http.server.DefaultConnectionListener
 run
 INFO: Listening on port 8080

 When I try to access service listening on TCP connection I get an
error:
 Service not found operation terminated !!




---Oct
 9, 2006 2:57:15 PM
 org.apache.axis2.deployment.DeploymentEngine doDeploy
 INFO: Deploying module : addressing-1.09
 org.apache.axis2.AxisFault: Service not found operation terminated !!
  at

org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO
peration.java:294)
  at

com.sample.Axis2SampleDocLitServiceStub.echoString(Axis2SampleDocLitServ
iceStub.java:505)
  at TCP1Client.echoString(TCP1Client.java:28)
  at TCP1Client.main(TCP1Client.java:17)
 Caused by: java.lang.Exception: org.apache.axis2.AxisFault: Service
not
 found operation terminated !!
  at

org.apache.axis2.engine.InstanceDispatcher.fillContextsFromSessionContex
t(InstanceDispatcher.java:113)
  at

org.apache.axis2.engine.InstanceDispatcher.invoke(InstanceDispatcher.jav
a:64)
  at org.apache.axis2.engine.Phase.invoke(Phase.java:377)
  at
 org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:513)
  at
 org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:484)
  at
 org.apache.axis2.transport.tcp.TCPWorker.run(TCPWorker.java:93)
  at

edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.runTask(ThreadPoolExecutor.java:665)
  at

edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.run(ThreadPoolExecutor.java:690)
  at java.lang.Thread.run(Thread.java:595)

  at org.apache.axis2.AxisFault.init(AxisFault.java:159)
  ... 4 more
 null

 Any clues, what may be wrong ?

  


 NOTICE: If received in error, please destroy and notify sender. Sender
does
 not intend to waive confidentiality or privilege. Use of this email is
 prohibited when received in 

RE: axis2-RC1 problem, tcp server does not recognize deployed services

2006-10-11 Thread Gul Onural
Yogen,

Try this :
 
http://svn.apache.org/repos/asf/webservices/axis2/branches/java/1_1/modu
les/tool/script/tcp-server.bat


-Original Message-
From: Yadav, Yogendra (IT) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 11, 2006 9:27 AM
To: axis-user@ws.apache.org; [EMAIL PROTECTED]
Subject: RE: axis2-RC1 problem, tcp server does not recognize deployed
services

I can't download bat file, blocked.
 

-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 10, 2006 12:29 PM
To: axis-user@ws.apache.org
Subject: Re: axis2-RC1 problem, tcp server does not recognize deployed
services

Yogen,

Can you please try this bat file:
http://svn.apache.org/repos/asf/webservices/axis2/branches/java/1_1/modu
les/tool/script/tcp-server.bat

Thanks,
dims

On 10/9/06, Yadav, Yogendra (IT) [EMAIL PROTECTED]
wrote:



 the tcp-server.bat file should be modified to:
 line this
 %_RUNJAVA% %JAVA_OPTS% -cp %AXIS2_CLASS_PATH% 
 org.apache.axis2.transport.tcp.TCPServer %AXIS2_HOME% 6060
 %*
 changed to
 %_RUNJAVA% %JAVA_OPTS% -cp %AXIS2_CLASS_PATH% 
 org.apache.axis2.transport.tcp.TCPServer
 %AXIS2_HOME%/repository 6060 %*



  
  From: Yadav, Yogendra (IT)
 Sent: Monday, October 09, 2006 3:01 PM
 To: axis-user@ws.apache.org
 Subject: axis2-RC1 problem, tcp server does not recognize deployed 
 services




 I am testing axis2-RC1. I have copied Axis2SampleDocLitService.aar and

 MyService.aar in C:\software\axis2-rc1\repository\services
 directory.

 Now I have started HTTP Server and TCP Server using commands start.bat

 and tcp-server.bat. I see different outputs displayed for the two 
 commands, my question, is this right, looks like TCP server has not 
 recognized any of the .aar files.

 Display when tcp-server.bat is run:
 ---
 C:\software\axis2-rc1\bintcp-server.bat
 Using AXIS2_HOME:   C:\software\axis2-rc1
 Using JAVA_HOME:C:\Program Files\AFSMirror\sunjdk\1.5.0_04
 Oct 9, 2006 2:01:38 PM
 org.apache.axis2.deployment.DeploymentEngine
 prepareRepository
 INFO: no services directory found , new one created Oct 9, 2006
 2:01:38 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
 INFO: Deploying module : addressing-1.09 [Axis2] Using the Repository
 C:\software\axis2-rc1 [Axis2] Starting the TCP Server on port 6060


 Display when tcp-server.bat is run:
 ---
 C:\software\axis2-rc1\binstart.bat
 Using AXIS2_HOME:   C:\software\axis2-rc1
 Using JAVA_HOME:C:\Program Files\AFSMirror\sunjdk\1.5.0_04
 [SimpleHTTPServer] Starting
 [SimpleHTTPServer] Using the Axis2 Repository
 C:\software\axis2-rc1\repository
 [SimpleHTTPServer] Listening on port 8080
 Oct 9, 2006 2:52:52 PM
 org.apache.axis2.deployment.DeploymentEngine
 prepareRepository
 INFO: no modules directory found , new one created
 Oct 9, 2006 2:52:52 PM
 org.apache.axis2.deployment.DeploymentEngine doDeploy
 INFO: Deploying module : addressing-1.09
 Oct 9, 2006 2:52:53 PM
 org.apache.axis2.deployment.DeploymentEngine doDeploy
 INFO: Deploying Web service  Axis2SampleDocLitService.aar
 Oct 9, 2006 2:52:53 PM
 org.apache.axis2.deployment.DeploymentEngine doDeploy
 INFO: Deploying Web service  MyService.aar
 [SimpleHTTPServer] Started
 Oct 9, 2006 2:52:53 PM
 org.apache.axis2.transport.http.server.DefaultConnectionListener
 run
 INFO: Listening on port 8080

 When I try to access service listening on TCP connection I get an
error:
 Service not found operation terminated !!




---Oct
 9, 2006 2:57:15 PM
 org.apache.axis2.deployment.DeploymentEngine doDeploy
 INFO: Deploying module : addressing-1.09
 org.apache.axis2.AxisFault: Service not found operation terminated !!
  at

org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO
peration.java:294)
  at

com.sample.Axis2SampleDocLitServiceStub.echoString(Axis2SampleDocLitServ
iceStub.java:505)
  at TCP1Client.echoString(TCP1Client.java:28)
  at TCP1Client.main(TCP1Client.java:17)
 Caused by: java.lang.Exception: org.apache.axis2.AxisFault: Service
not
 found operation terminated !!
  at

org.apache.axis2.engine.InstanceDispatcher.fillContextsFromSessionContex
t(InstanceDispatcher.java:113)
  at

org.apache.axis2.engine.InstanceDispatcher.invoke(InstanceDispatcher.jav
a:64)
  at org.apache.axis2.engine.Phase.invoke(Phase.java:377)
  at
 org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:513)
  at
 org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:484)
  at
 org.apache.axis2.transport.tcp.TCPWorker.run(TCPWorker.java:93)
  at

edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.runTask(ThreadPoolExecutor.java:665)
  at

edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker

RE: WS Addressing :: http requests response (ReplyTo) on JMS protocol

2006-10-11 Thread Vaibhav Pandey
Hi,
-yaa m using axis2.1.1 (nightly built)
-MEP is INOUT with method call as fireandforget()
-i want my nonblockingclient to send the request to a simple WS whose
response should be forwarded to a different JMS WS hosted on a different
application server


CLIENT Request WS 1(simple WS) ---Response on a queue after
lookup--- WS 2(JMS WS listening on this queue)


Regards,
Vaibhav


-Original Message-
From: Ali Sadik Kumlali [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 11, 2006 6:19 PM
To: axis-user@ws.apache.org
Subject: Re: WS Addressing :: http requests response (ReplyTo) on JMS
protocol


Hi Vaibhav,

- Do you use Axis2? If so, please add [Axis2] to the mail subject for easier
follow up. Following questions assume you are using Axis2.
- What kind of MEP do you use? If I understand correctly, you use in-out
MEP.
- Do you expect nonBlockingDualClient to listents to the response over a MDB
instead of creating a listener by itself?

Regards,

Ali Sadik Kumlali

- Original Message 
From: Vaibhav Pandey [EMAIL PROTECTED]
To: Axis-User axis-user@ws.apache.org
Sent: Wednesday, October 11, 2006 8:31:10 AM
Subject: WS Addressing :: http requests response (ReplyTo) on JMS protocol

Hi All,
I am working on a scenario were my nonBlockingDualClient sends a http
request to a WS and the response should go to a JMS listener listening on a
different port. in short i want the response to go via JMS into the
queue on which my listener is listening so that i can do some processing on
it as and when it arrives at MDB's OnMessage().

I have already implemented an HTTP to HTTP scenario and m in need of some
guidance in this HTTP-JMS scenario on the configurations required in my
client to forward the request on JMS.

Any help is highly appreciated !!


Regards,
Vaibhav



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



Using an EJB as web service

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



Hi,I have deployed anEJB in JBoss 4.This 
EBJmustworkas aweb service deployed in axis2 but I want 
to know how todo this in axis2.In the previous axis version it was 
easy because there was the org.apache.axis.providers.java.EJBprovider class. 
This class read the server-config.wsdd file to get the parametersand to 
communicate with the EJB. But this new version has a different architecture and 
this is not possible. 
I need an alternative to do the same.I am retrieving in the code of 
the EJBProvider class to try do this.

Thanks in advance.


nillable property..please help

2006-10-11 Thread Vivek Raut










I have used a parameter whose nillable property is set to true in a web services
contract.

Also, I am using stubs to invoke the
service. However, when the request is generated, the value of parameter looks
like:

customerStatus xsi:nil=1 /





When I use Mindreefs
soapscope to test the service, the same parameter
goes as:

customerStatus xsi:nil=true /





Can somebody tell me whether xsi:nil=1 is same as xsi:nil=true?

If not, then how can I set xsi:nil=true in my request?



I am sending null value for the parameter.



Thanks and Regards,

Vivek











 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***


[Axis2] Unable to download Rampart samples from wso2

2006-10-11 Thread Sathija Pavuluri
Hello,

http://www.wso2.net/articles/rampart/java/2006/08/15/usernametoken-auth

This is by far the best tutorial I've read about Rampart.
But the link to download the rampart samples in this tutorial does not
seem to work. It probably needs to be updated.

Thanks,
Sathija.


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



Re: help on AxisFault

2006-10-11 Thread Martin Gainty
Good Morning Chen-
can we view the Response definition from your wsdl ?
e.g.
   wsdl:message name=NameOfSoapServiceResponse
  wsdl:part name=NameOfSoapServiceReturn type=soapenc:string/
   /wsdl:message
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: Z Chen [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Friday, October 06, 2006 4:44 PM
Subject: help on AxisFault


 Hi,
 
 I am building Java application that call a remote web
 services built in gSOAP and also provide web services
 for the remote server to invoke. I have generated Stub
 and skeleton class from my wsdl files. All my services
 in wsdl are without SOAPFault defined. In this
 situation, how do I pass the exception between these 2
 different systems. We have a invoke operation
 without any return object defined in remote service,
 so the generate stub doesn't have a try catch block to
 catch any AxisFault, so even though the remote system
 returns a response with a SOAPFault, we are not able
 to get it. Even though I manually added the try catch
 block, it still didnt work. Any idea where I did wrong
 ?
 
 In the generated *Receiver class, I saw there is a
 catch block to convert any Java exception to a
 AxisFault, and throw it to Axis2 engine, would it
 return a response with SOAPFAult in it back to the
 remote system ?
 
 Thanks
 
 John
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


Re: Java2WSDL is Missing in Axis2

2006-10-11 Thread Anne Thomas Manes

Use the latest nightly.

On 10/11/06, Ramesh Gurunathan [EMAIL PROTECTED] wrote:

Hi All,

I am using axis2 version 1.0. I could not find Java2WSDL class in the
documentation. It looks like the class is missing. Any ideas why?

Also, the eclipse plugin for Generate a WSDL from a Java source file
throws InvocationTargetException. It doesn't show the exception stack
trace.

Any help is much appreciated

Ramesh

-
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: help on AxisFault

2006-10-11 Thread Z Chen
We don't have a response defined in this case.

John

--- Martin Gainty [EMAIL PROTECTED] wrote:

 Good Morning Chen-
 can we view the Response definition from your wsdl ?
 e.g.
wsdl:message name=NameOfSoapServiceResponse
   wsdl:part name=NameOfSoapServiceReturn
 type=soapenc:string/
/wsdl:message
 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: Z Chen [EMAIL PROTECTED]
 To: axis-user@ws.apache.org
 Sent: Friday, October 06, 2006 4:44 PM
 Subject: help on AxisFault
 
 
  Hi,
  
  I am building Java application that call a remote
 web
  services built in gSOAP and also provide web
 services
  for the remote server to invoke. I have generated
 Stub
  and skeleton class from my wsdl files. All my
 services
  in wsdl are without SOAPFault defined. In this
  situation, how do I pass the exception between
 these 2
  different systems. We have a invoke operation
  without any return object defined in remote
 service,
  so the generate stub doesn't have a try catch
 block to
  catch any AxisFault, so even though the remote
 system
  returns a response with a SOAPFault, we are not
 able
  to get it. Even though I manually added the try
 catch
  block, it still didnt work. Any idea where I did
 wrong
  ?
  
  In the generated *Receiver class, I saw there is a
  catch block to convert any Java exception to a
  AxisFault, and throw it to Axis2 engine, would it
  return a response with SOAPFAult in it back to the
  remote system ?
  
  Thanks
  
  John
  
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
 protection around 
  http://mail.yahoo.com 
  
 

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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Bundled in version service says Requested resource not found

2006-10-11 Thread Kim
Dear all
I have installed axis2 on my tomcat server.
The happyaxis scripts says that I have all the required libraries.
However, when i try to go to localhost:8080/axis2/services/version which should
list the bundled in version service I get a Requested resource not found error.
What am I missing?
Regards in


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



FW: [Axis2] Custom Fault

2006-10-11 Thread Punnoose, Roshan








Does anyone have any ideas about this? I
kind of need to get it figured out soon. Thanks!





Roshan
Punnoose

Phone: 301-497-6039











From: Punnoose, Roshan
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 10, 2006
1:30 PM
To: axis-user@ws.apache.org
Subject: [Axis2] Custom Fault





Hi,



How do I create a custom fault and send it
to a client callback endpoint? This logic is being done outside the service (so
I do not have access to the IN MessageContext), in another java class where I
create a ServiceClient and send an OMElement using the fireAndForget()
function. I want to be able to send back a custom SOAPFault. Is this possible?





Roshan
Punnoose

Phone: 301-497-6039











From: Punnoose, Roshan
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 10, 2006
11:02 AM
To: axis-user@ws.apache.org
Subject: [Axis2]
SetExceptionThrownOnFault





Hi,



Can I set this property in the axis2.xml
for the server:

options.setExceptionToBeThrownOnSOAPFault(false);



Thanks





Roshan
Punnoose

Phone: 301-497-6039








BEGIN:VCARD
VERSION:2.1
N:Punnoose;Roshan
FN:Punnoose, Roshan
ADR;WORK:;2115
LABEL;WORK:2115
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20050413T183207Z
END:VCARD
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]BEGIN:VCARD
VERSION:2.1
N:Punnoose;Roshan
FN:Punnoose, Roshan
ADR;WORK:;2115
LABEL;WORK:2115
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20050413T183207Z
END:VCARD
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Axis 1.4 Java2WSDL default typemapping

2006-10-11 Thread Martin Gainty
If you want to use attachment support you will have to use SAAJ or JAX-RPC 1.2 
with attachments
http://www-128.ibm.com/developerworks/xml/library/x-tippass.html
from what Ive seen thus far attachment support is not available in RPC 1.1

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: Anne Thomas Manes [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Wednesday, October 11, 2006 10:56 AM
Subject: Re: Axis 1.4 Java2WSDL default typemapping


 Axis 1.1 java2wsdl generates RPC/encoded unless you specify
 (style=wrapped or style=document) and use=literal.
 
 Anne
 
 On 10/11/06, Banck, Arent-Jan [EMAIL PROTECTED] wrote:
 Hi,
 The reference.html Java2WSDL Reference says:
 -T, --typeMappingVersion
 indicate 1.1 or 1.2.  The default is 1.1 (SOAP 1.1
 JAX-RPC
 compliant  1.2 indicates SOAP 1.1 encoded.)
 But when I try to use Java2WSDL it seems the default is 1.2. Is this an
 error in the documentation?

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

2006-10-11 Thread Thilina Gunarathne

   parameter name=sendStacktraceDetailsWithFaults
locked=falsefalse/parameter

See here http://www.wso2.net/kb/220 for more info...

~Thilina

On 10/10/06, Punnoose, Roshan [EMAIL PROTECTED] wrote:





Hi,



Can I set this property in the axis2.xml for the server:

options.setExceptionToBeThrownOnSOAPFault(false);



Thanks




Roshan Punnoose

Phone: 301-497-6039
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

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



Re: [Axis2] Custom Fault

2006-10-11 Thread Deepal Jayasinghe
Hi Punnoose;
If you use fireAndForget you wont get any server side exception, if you
want o get exception then you need to use sendRobust();

Thanks
Deepal

 Hi,

 How do I create a custom fault and send it to a client callback
 endpoint? This logic is being done outside the service (so I do not
 have access to the IN MessageContext), in another java class where I
 create a ServiceClient and send an OMElement using the
 fireAndForget(…) function. I want to be able to send back a custom
 SOAPFault. Is this possible?

 **Roshan Punnoose**

 Phone: 301-497-6039

 

 *From:* Punnoose, Roshan [mailto:[EMAIL PROTECTED]
 *Sent:* Tuesday, October 10, 2006 11:02 AM
 *To:* axis-user@ws.apache.org
 *Subject:* [Axis2] SetExceptionThrownOnFault

 Hi,

 Can I set this property in the axis2.xml for the server:

 options.setExceptionToBeThrownOnSOAPFault(false);

 Thanks

 **Roshan Punnoose**

 Phone: 301-497-6039

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



RE: [Axis2] Custom Fault

2006-10-11 Thread Punnoose, Roshan
Hmm... would I be able to send a SOAPFault using the ServiceClient send*
methods? Is that possible?

Because what I want to do is be able to send a SOAPFault from the server
using the ServiceClient interface.

Roshan Punnoose
Phone: 301-497-6039

-Original Message-
From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 11, 2006 12:55 PM
To: axis-user@ws.apache.org
Subject: Re: [Axis2] Custom Fault

Hi Punnoose;
If you use fireAndForget you wont get any server side exception, if you
want o get exception then you need to use sendRobust();

Thanks
Deepal

 Hi,

 How do I create a custom fault and send it to a client callback
 endpoint? This logic is being done outside the service (so I do not
 have access to the IN MessageContext), in another java class where I
 create a ServiceClient and send an OMElement using the
 fireAndForget(...) function. I want to be able to send back a custom
 SOAPFault. Is this possible?

 **Roshan Punnoose**

 Phone: 301-497-6039




 *From:* Punnoose, Roshan [mailto:[EMAIL PROTECTED]
 *Sent:* Tuesday, October 10, 2006 11:02 AM
 *To:* axis-user@ws.apache.org
 *Subject:* [Axis2] SetExceptionThrownOnFault

 Hi,

 Can I set this property in the axis2.xml for the server:

 options.setExceptionToBeThrownOnSOAPFault(false);

 Thanks

 **Roshan Punnoose**

 Phone: 301-497-6039

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

BEGIN:VCARD
VERSION:2.1
N:Punnoose;Roshan
FN:Punnoose, Roshan
ADR;WORK:;2115
LABEL;WORK:2115
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20050413T183207Z
END:VCARD
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

return amny string in Axis

2006-10-11 Thread Muthana AL-Temimi








Hi there,



Im new in Axis and I
would like to build Web service that returns a record from the DB i.e. many columns.
I already implemented for one column from the record.

Can you help in that?



Any help will be crateful

Regards



---

Muthana

0173 623 9 472










[axis2] type s:base64Binary causes AxisFault

2006-10-11 Thread Jake Goulding

I have a webservice call that takes in the following parameter:
s:element minOccurs=0 maxOccurs=1 name=attachment 
type=s:base64Binary /


The Java generated for this takes in a DataHandler, which is set like such:
param.setAttachment(new DataHandler(new FileDataSource(file)));

However, the webservice responds with an error:
org.apache.axis2.AxisFault: Server was unable to read request. -- There 
is an error in XML document (1, 394). -- 
'==L3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS9jb252ZXJ0ZXJzLmphcjovdXNyL2xvY2FsL3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS9uY2Fjbl9ucC5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvWG1sU2NoZW1hLVNOQVBTSE9ULmphcjovdXNyL2xvY2FsL3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS9qYWthcnRhLWh0dHBjb3JlLTQuMC1hbHBoYTIuamFyOi91c3IvbG9jYWwvdml2aXNpbW8tZ291bGRpbmcyL2xpYi9qYXZhL2pjaWZzLmphcjovdXNyL2xvY2FsL3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS9kYjJqY2NfbGljZW5zZV9jdS5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvYWN0aXZhdGlvbi5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvY29tbW9ucy1jb2RlYy0xLjMuamFyOi91c3IvbG9jYWwvdml2aXNpbW8tZ291bGRpbmcyL2xpYi9qYXZhL2Rzbi5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvcG9wMy5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvc3RheC1hcGktMS4wLjEuamFyOi91c3IvbG9jYWwvdml2aXNpbW8tZ291bGRpbmcyL2xpYi9qYXZhL2Fubm9nZW4tMC4xLjAuamFyOi91c3IvbG9jYWwvdml2aXNpbW8tZ291bGRpbmcyL2xpYi9qYXZhL3Bvc3RncmVzcWwtOC4wLTMxMi5qZGJjMy5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvY29tbW9ucy1maWxldXBsb2FkLTEuMS4xLmphcjovdXNyL2xvY2FsL3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS9udGxtLXNlY3VyaXR5LmphcjovdXNyL2xvY2FsL3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS9heGlzMi1rZXJuZWwtMS4xLVNOQVBTSE9ULmphcjovdXNyL2xvY2FsL3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS9tYWlsYXBpLmphcjovdXNyL2xvY2FsL3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS93c3R4LWFzbA==LTMuMC4xLmphcjovdXNyL2xvY2FsL3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS9teXNxbC1jb25uZWN0b3ItamF2YS0zLjEuMTAtYmluLmphcjovdXNyL2xvY2FsL3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS9tYWlsLmphcjovdXNyL2xvY2FsL3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS9jb21tb25zLWh0dHBjbGllbnQtMy4wLjEuamFyOi91c3IvbG9jYWwvdml2aXNpbW8tZ291bGRpbmcyL2xpYi9qYXZhL2F4aW9tLWltcGwtU05BUFNIT1QuamFyOi91c3IvbG9jYWwvdml2aXNpbW8tZ291bGRpbmcyL2xpYi9qYXZhL25lZXRoaS1TTkFQU0hPVC5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvc2hhcmVwb2ludC5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvd29kZW4tMS4wLjBNNi5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvYmFja3BvcnQtdXRpbC1jb25jdXJyZW50LTIuMi5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvanRkcy0xLjEuamFyOi91c3IvbG9jYWwvdml2aXNpbW8tZ291bGRpbmcyL2xpYi9qYXZhL2phcmFwYWMuamFyJyAtWG14MTYwbSAtWFg6K0Rpc3BsYXlWTU91dHB1dFRvU3RkZXJyIC1YWDorSGVhcER1bXBPbk91dE9mTWVtb3J5RXJyb3IgLURqYXZhLmlvLnRtcGRpcj0vdXNyL2xvY2FsL3Zpdmlz' 
is not a valid Base64 text sequence. Line 1, position 1775.


Can anyone shed any light on this? I am using the 1.1 RC1 snapshot.

Thanks!

--

JAKE GOULDING
Software Engineer
[EMAIL PROTECTED]

Viví­simo [Search Done Right™]
1710 Murray Avenue
Pittsburgh, PA 15217 USA
tel: +1.412.422.2499 x105
fax: +1.412.422.2495
vivisimo.com  clusty.com




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



How to handle Faults with Handler ?

2006-10-11 Thread Aleksander Grzebyta
Hello,

I tried to use 

  responseFlow
   handler type=java:my.class.ResponseHandler/
  /responseFlow

configuration to use the handler when Axis provides SOAP Fault response for
wrong requets. The problem is that the handler gets invoked only when the
service is properly invoked. When some error occurs Axis provides response
on itself and does not call my handler.

I placed the responseFlow configuration within Service configuration and for
http transport and for globalConfiguration with no success. The handler is
invoker three times when everything goes well, but not invoked when error
occures.

Is there any way to configure handler that is invoked when error occurs ? I
am particulary interested in such cases when error occures before my service
is called (eg. wrong XML in request).

sincerely Olek

Polsoft, Poznan, Poland

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



Support for polymorphism in a service

2006-10-11 Thread D . Kreft

I'm writing a service that I'm trying to integrate into a legacy
system bit by bit. In the old system, a request ID is a String of
the format rqMMDDHHMMSSXXX, but in the new system, a request ID
is simply a row identifier (a Long).

What I'd like to do is use the power of polymorphism to keep my
service API clean and sane:

   public Request getRequestByID(String legacyRequestID) {
   // ...
   }

   public Request getRequestByID(Long requestID) {
   // ...
   }

But when I try this, java2wsdl (Axis1) pukes with the following fault:

   Attempted to write duplicate schema element :
{http://pkgbuild.amazon.com/PBQS}getRequestByID

...which makes me sad. :-(   -- See?

Is this a WSDL 1.0 restriction or a deficiency in java2wsdl? Will such
use of polymorphism be possible under Axis2?

-dan

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



problem with wsdl2java

2006-10-11 Thread Flood, Brendan \(Brendan\) ** CTR **








I am having a problem with the generated code from wsdl2java
if I have a complexType with one element and several attributes. Here is my
complexType




complexType name=SomeData


sequence


element name=data type=string maxOccurs=unbounded/


/sequence


attribute name=attr1 type=boolean default=false/


attribute name=attr2 type=boolean default=true/


attribute name=attr3 type=boolean default=true/


/complexType




What happens is no code is generated for
the SomeData class and if I include the element of type SomeData in another type,
the generated code shows up as String[] data, so I only get the element. If I
add a 2nd element to the sequence (see below) then I get a SomeData
class generated and this has the elements and attributes in it. I am using Axis
1.3 (I believe RC2, I downloaded it a while ago).




complexType name=SomeData


sequence


element name=data type=string maxOccurs=unbounded/


element name=elem2 type=string/


/sequence


attribute name=attr1 type=boolean default=false/


attribute name=attr2 type=boolean default=true/


attribute name=attr3 type=boolean default=true/


/complexType



Let me know if this is a known problem that may have been fixed in a
later release or if I am doing something wrong.



Thanks,

Brendan Flood,












Re: Support for polymorphism in a service

2006-10-11 Thread Davanum Srinivas

Please see:
http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#Distinctive_Operations

thanks,
-- dims

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

I'm writing a service that I'm trying to integrate into a legacy
system bit by bit. In the old system, a request ID is a String of
the format rqMMDDHHMMSSXXX, but in the new system, a request ID
is simply a row identifier (a Long).

What I'd like to do is use the power of polymorphism to keep my
service API clean and sane:

public Request getRequestByID(String legacyRequestID) {
// ...
}

public Request getRequestByID(Long requestID) {
// ...
}

But when I try this, java2wsdl (Axis1) pukes with the following fault:

Attempted to write duplicate schema element :
{http://pkgbuild.amazon.com/PBQS}getRequestByID

...which makes me sad. :-(   -- See?

Is this a WSDL 1.0 restriction or a deficiency in java2wsdl? Will such
use of polymorphism be possible under Axis2?

-dan

-
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: problem with wsdl2java

2006-10-11 Thread Martin Gainty



Brendan-
write a bean classwhich 
willmanually encapsulates all of the items as attrbutes of your bean 
class
Then implement the beanclass in your wsdl as 
ComplexDatatype as in this example
wsdl:types schema 
xmlns="http://www.w3.org/2001/XMLSchema" 
targetNamespace="http://weather" import 
namespace="http://schemas.xmlsoap.org/soap/encoding/"/ 
complexType name="YourComplexDataType" 
sequence element name="zip" 
nillable="true" type="xsd:string"/
great example located here
http://www-128.ibm.com/developerworks/webservices/library/ws-complex.htmlHTH,
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: 
  Flood, Brendan 
  (Brendan) ** CTR ** 
  To: axis-user@ws.apache.org 
  Sent: Wednesday, October 11, 2006 3:34 
  PM
  Subject: problem with wsdl2java
  
  
  I am having a problem with the 
  generated code from wsdl2java if I have a complexType with one element and 
  several attributes. Here is my complexType
  
   
  complexType name="SomeData"
   
  sequence
   
  element name="data" type="string" 
  maxOccurs="unbounded"/
   
  /sequence
   
  attribute name="attr1" type="boolean" 
  default="false"/
   
  attribute name="attr2" type="boolean" 
  default="true"/
   
  attribute name="attr3" type="boolean" 
  default="true"/
   
  /complexType
   
  
  What happens is no code is generated for 
  the SomeData class and if I include the element of type SomeData in another 
  type, the generated code shows up as String[] data, so I only get the element. 
  If I add a 2nd element to the sequence (see below) then I get a 
  SomeData class generated and this has the elements and attributes in it. I am 
  using Axis 1.3 (I believe RC2, I downloaded it a while 
  ago).
  
   
  complexType name="SomeData"
   
  sequence
   
  element name="data" type="string" 
  maxOccurs="unbounded"/
   
  element name="elem2" type="string"/
   
  /sequence
   
  attribute name="attr1" type="boolean" 
  default="false"/
   
  attribute name="attr2" type="boolean" 
  default="true"/
   
  attribute name="attr3" type="boolean" 
  default="true"/
   
  /complexType
  
  Let me know if this is a known problem that may have 
  been fixed in a later release or if I am doing something 
  wrong.
  
  Thanks,
  Brendan Flood,
  
  


Re: Support for polymorphism in a service

2006-10-11 Thread D . Kreft

But wasn't the notion of portType supposed to be nixed in WSDL 1.1?

-dan

On 10/11/06, Davanum Srinivas [EMAIL PROTECTED] wrote:

Please see:
http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#Distinctive_Operations

thanks,
-- dims

On 10/11/06, D. Kreft [EMAIL PROTECTED] wrote:
 I'm writing a service that I'm trying to integrate into a legacy
 system bit by bit. In the old system, a request ID is a String of
 the format rqMMDDHHMMSSXXX, but in the new system, a request ID
 is simply a row identifier (a Long).

 What I'd like to do is use the power of polymorphism to keep my
 service API clean and sane:

 public Request getRequestByID(String legacyRequestID) {
 // ...
 }

 public Request getRequestByID(Long requestID) {
 // ...
 }

 But when I try this, java2wsdl (Axis1) pukes with the following fault:

 Attempted to write duplicate schema element :
 {http://pkgbuild.amazon.com/PBQS}getRequestByID

 ...which makes me sad. :-(   -- See?

 Is this a WSDL 1.0 restriction or a deficiency in java2wsdl? Will such
 use of polymorphism be possible under Axis2?

 -dan

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




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



RE: Support for polymorphism in a service

2006-10-11 Thread Spies, Brennan
No, that's WSDL 2.0, where it is replaced by Interface...

www.w3.org/2002/ws/desc/wsdl20-primer


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of D.Kreft
Sent: Wednesday, October 11, 2006 1:40 PM
To: axis-user@ws.apache.org; [EMAIL PROTECTED]
Subject: Re: Support for polymorphism in a service

But wasn't the notion of portType supposed to be nixed in WSDL 1.1?

-dan

On 10/11/06, Davanum Srinivas [EMAIL PROTECTED] wrote:
 Please see:

http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#Distinctive_Ope
rations

 thanks,
 -- dims

 On 10/11/06, D. Kreft [EMAIL PROTECTED] wrote:
  I'm writing a service that I'm trying to integrate into a legacy
  system bit by bit. In the old system, a request ID is a String of
  the format rqMMDDHHMMSSXXX, but in the new system, a request ID
  is simply a row identifier (a Long).
 
  What I'd like to do is use the power of polymorphism to keep my
  service API clean and sane:
 
  public Request getRequestByID(String legacyRequestID) {
  // ...
  }
 
  public Request getRequestByID(Long requestID) {
  // ...
  }
 
  But when I try this, java2wsdl (Axis1) pukes with the following fault:
 
  Attempted to write duplicate schema element :
  {http://pkgbuild.amazon.com/PBQS}getRequestByID
 
  ...which makes me sad. :-(   -- See?
 
  Is this a WSDL 1.0 restriction or a deficiency in java2wsdl? Will such
  use of polymorphism be possible under Axis2?
 
  -dan
 
  -
  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]



-
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: Support for polymorphism in a service

2006-10-11 Thread D . Kreft

On 10/11/06, Spies, Brennan [EMAIL PROTECTED] wrote:


No, that's WSDL 2.0, where it is replaced by Interface...

www.w3.org/2002/ws/desc/wsdl20-primer


Sorry, yes...that's what Sanjiva was talking about. :-)

I'm hoping that a O(1) question will save me an O(n) scouring of that
document...does WSDL 2.0 support operator overloading?

-dan





-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of D.Kreft
Sent: Wednesday, October 11, 2006 1:40 PM
To: axis-user@ws.apache.org; [EMAIL PROTECTED]
Subject: Re: Support for polymorphism in a service

But wasn't the notion of portType supposed to be nixed in WSDL 1.1?

-dan

On 10/11/06, Davanum Srinivas [EMAIL PROTECTED] wrote:
 Please see:

http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#Distinctive_Ope
rations

 thanks,
 -- dims

 On 10/11/06, D. Kreft [EMAIL PROTECTED] wrote:
  I'm writing a service that I'm trying to integrate into a legacy
  system bit by bit. In the old system, a request ID is a String of
  the format rqMMDDHHMMSSXXX, but in the new system, a request ID
  is simply a row identifier (a Long).
 
  What I'd like to do is use the power of polymorphism to keep my
  service API clean and sane:
 
  public Request getRequestByID(String legacyRequestID) {
  // ...
  }
 
  public Request getRequestByID(Long requestID) {
  // ...
  }
 
  But when I try this, java2wsdl (Axis1) pukes with the following fault:
 
  Attempted to write duplicate schema element :
  {http://pkgbuild.amazon.com/PBQS}getRequestByID
 
  ...which makes me sad. :-(   -- See?
 
  Is this a WSDL 1.0 restriction or a deficiency in java2wsdl? Will such
  use of polymorphism be possible under Axis2?
 
  -dan
 
  -
  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]



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



[Axis2]Trying to generate C code... Using WSDL2Code -l c generates some java some C code... Help need

2006-10-11 Thread Sharad Baronia








Hi,



 When I uses WSDL2Code in Axis2/Java 1.1 rC1, to
generate C code, it generates some part as Java and some part as C code.

 Mostly the xml scheme, and IN  OUT
parameter are generated as Java code, whereas stub, and skeleton is generated
as C code.



Command Line:

 wsdl2code -o d:\sbaronia\c -a -l c -ss -sd -d
adb -u -uri D:\sbaronia\workspace\test\corporateaction.wsdl



Help need



/Sharad







___

All outbound Email is scanned by Nexa Technologies Email Security Systems.
___




?xml version=1.0 encoding=UTF-8?
!-- edited with XMLSpy v2006 rel. 3 sp2 (http://www.altova.com) by Sharad Baronia (Nexa) --
wsdl:definitions xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns:tns=http://www.nexa.com/corporateaction/; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; targetNamespace=http://www.nexa.com/corporateaction/; name=corporateaction
	wsdl:types
		xsd:schema xmlns:ns1=http://schemas.xmlsoap.org/soap/encoding/; targetNamespace=http://www.nexa.com/corporateaction/;
			xsd:complexType name=CorporateActionDate
xsd:sequence
	xsd:element name=record-date type=xsd:date minOccurs=0 maxOccurs=1/
	xsd:element name=ex-date type=xsd:date minOccurs=0 maxOccurs=1/
	xsd:element name=payment-date type=xsd:date minOccurs=0 maxOccurs=1/
/xsd:sequence
			/xsd:complexType
			xsd:complexType name=CorporateActionGeneralData
xsd:sequence
	xsd:element name=symbol type=xsd:string maxOccurs=1/
	xsd:element name=instrument-type type=xsd:string maxOccurs=1/
	xsd:element name=exchange type=xsd:string minOccurs=0 maxOccurs=1/
	xsd:element name=cusip type=xsd:string minOccurs=0 maxOccurs=1/
	xsd:element name=action-date type=tns:CorporateActionDate minOccurs=0 maxOccurs=1/
	xsd:element name=declaration-date type=xsd:date minOccurs=0 maxOccurs=1/
	xsd:element name=update-date type=xsd:date minOccurs=0 maxOccurs=1/
	xsd:element name=cancelled-date type=xsd:date minOccurs=0 maxOccurs=1/
	!-- Action-Type: 
			CashDividend=XC
			StockDividend=XS
			StockSplit=SS
			SymbolChange=SC
			NameChange=NC
	--
	xsd:element name=action-type type=xsd:string maxOccurs=1/
/xsd:sequence
			/xsd:complexType
			xsd:complexType name=CorporateActionDetailInfo
xsd:sequence
	!-- Value: 
			CashDividend=0.35 (dollar per share)
			StockDividend=3:2 (Ratio)
			StockSplit=3:2 (Ratio)
			SymbolChange=NewSymbol
			NameChange=Name
	--
	xsd:element name=value type=xsd:string minOccurs=0 maxOccurs=1/
	xsd:element name=payment-freq type=xsd:string minOccurs=0 maxOccurs=1/
	xsd:element name=currency type=xsd:string minOccurs=0 maxOccurs=1/
/xsd:sequence
			/xsd:complexType
			xsd:complexType name=CorporateActionDataInfo
xsd:sequence
	xsd:element name=general type=tns:CorporateActionGeneralData maxOccurs=1/
	xsd:element name=detail type=tns:CorporateActionDetailInfo maxOccurs=1/
/xsd:sequence
			/xsd:complexType
			xsd:complexType name=ArrayOfCorporateActionInfo
xsd:sequence
	xsd:element name=info type=tns:CorporateActionDataInfo minOccurs=0 maxOccurs=unbounded/
/xsd:sequence
			/xsd:complexType
			!-- fault element --
			xsd:element name=CorporateActionException
xsd:complexType
	xsd:sequence
		!-- Cause: 
			AuthenticationError=1
			ServiceNotFound=2
			DataNotFound=3
		--
		xsd:element name=cause type=xsd:int/
		xsd:element name=msgtxt type=xsd:string/
	/xsd:sequence
/xsd:complexType
			/xsd:element
		/xsd:schema
	/wsdl:types
	wsdl:message name=GetCorporateActionsRequest
		wsdl:part name=bDetailedInfo type=xsd:boolean/
	/wsdl:message
	wsdl:message name=GetCorporateActionsResponse
		wsdl:part name=calist type=tns:ArrayOfCorporateActionInfo/
	/wsdl:message
	wsdl:message name=GetCorporateActionsByExDateRequest
		wsdl:part name=exDate type=xsd:date/
		wsdl:part name=bDetailedInfo type=xsd:boolean/
	/wsdl:message
	wsdl:message name=GetCorporateActionsByActionTypeRequest
		wsdl:part name=actionType type=xsd:string/
		wsdl:part name=bDetailedInfo type=xsd:boolean/
	/wsdl:message
	wsdl:message name=GetCorporateActionsByActionTypeAndExDateRequest
		wsdl:part name=actionType type=xsd:string/
		wsdl:part name=exDate type=xsd:date/
		wsdl:part name=bDetailedInfo type=xsd:boolean/
	/wsdl:message
	wsdl:message name=GetCorporateActionsBySymbolRequest
		wsdl:part name=symbol type=xsd:string/
		wsdl:part name=exchange type=xsd:string/
		wsdl:part name=bDetailedInfo type=xsd:boolean/
	/wsdl:message
	wsdl:message name=GetCorporateActionsBySymbolAndExDateRequest
		wsdl:part name=symbol type=xsd:string/
		wsdl:part name=exchange type=xsd:string/
		wsdl:part name=exDate type=xsd:date/
		wsdl:part name=bDetailedInfo type=xsd:boolean/
	/wsdl:message
	wsdl:message 

Re: [Axis2]Trying to generate C code... Using WSDL2Code -l c generates some java some C code... Help need

2006-10-11 Thread Davanum Srinivas

try dropping the -d adb  option.

On 10/11/06, Sharad Baronia [EMAIL PROTECTED] wrote:





Hi,



   When I uses WSDL2Code in Axis2/Java 1.1 rC1, to generate C code, it
generates some part as Java and some part as C code.

   Mostly the xml scheme, and IN  OUT parameter are generated as Java code,
whereas stub, and skeleton is generated as C code.



Command Line:

   wsdl2code -o d:\sbaronia\c -a -l c -ss -sd -d adb -u -uri
D:\sbaronia\workspace\test\corporateaction.wsdl



Help need…



/Sharad


___

 All outbound Email is scanned by Nexa Technologies Email Security Systems.
___

-
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]Trying to generate C code... Using WSDL2Code -l c generates some java some C code... Help need

2006-10-11 Thread Sharad Baronia
Dim,

   I tried that, but it is giving same result.

Command Line:
wsdl2code -o d:\sbaronia\c -a -l c -ss -sd -u -uri
D:\sbaronia\workspace\test\corporateaction.wsdl

/Sharad

-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 11, 2006 2:21 PM
To: axis-user@ws.apache.org
Subject: Re: [Axis2]Trying to generate C code... Using WSDL2Code -l c
generates some java  some C code... Help need

try dropping the -d adb  option.

On 10/11/06, Sharad Baronia [EMAIL PROTECTED] wrote:




 Hi,



When I uses WSDL2Code in Axis2/Java 1.1 rC1, to generate C code, it
 generates some part as Java and some part as C code.

Mostly the xml scheme, and IN  OUT parameter are generated as Java
code,
 whereas stub, and skeleton is generated as C code.



 Command Line:

wsdl2code -o d:\sbaronia\c -a -l c -ss -sd -d adb -u -uri
 D:\sbaronia\workspace\test\corporateaction.wsdl



 Help need.



 /Sharad



___

  All outbound Email is scanned by Nexa Technologies Email Security
Systems.

___

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


___

Inbound Email has been scanned by Nexa Technologies Email Security Systems.
___



___

All outbound Email is scanned by Nexa Technologies Email Security Systems.
___

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



Re: [axis2] type s:base64Binary causes AxisFault

2006-10-11 Thread Thilina Gunarathne

How is your SOAPEnvelope looks like on the wire Just check whether
it's complete...
Also try with enabling MTOM in the client side...

This may help you for that...
http://www.wso2.net/kb/264

Thanks,
Thilina

On 10/12/06, Jake Goulding [EMAIL PROTECTED] wrote:

I have a webservice call that takes in the following parameter:
s:element minOccurs=0 maxOccurs=1 name=attachment
type=s:base64Binary /

The Java generated for this takes in a DataHandler, which is set like such:
param.setAttachment(new DataHandler(new FileDataSource(file)));

However, the webservice responds with an error:
org.apache.axis2.AxisFault: Server was unable to read request. -- There
is an error in XML document (1, 394). --
'==L3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS9jb252ZXJ0ZXJzLmphcjovdXNyL2xvY2FsL3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS9uY2Fjbl9ucC5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvWG1sU2NoZW1hLVNOQVBTSE9ULmphcjovdXNyL2xvY2FsL3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS9qYWthcnRhLWh0dHBjb3JlLTQuMC1hbHBoYTIuamFyOi91c3IvbG9jYWwvdml2aXNpbW8tZ291bGRpbmcyL2xpYi9qYXZhL2pjaWZzLmphcjovdXNyL2xvY2FsL3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS9kYjJqY2NfbGljZW5zZV9jdS5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvYWN0aXZhdGlvbi5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvY29tbW9ucy1jb2RlYy0xLjMuamFyOi91c3IvbG9jYWwvdml2aXNpbW8tZ291bGRpbmcyL2xpYi9qYXZhL2Rzbi5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvcG9wMy5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvc3RheC1hcGktMS4wLjEuamFyOi91c3IvbG9jYWwvdml2aXNpbW8tZ291bGRpbmcyL2xpYi9qYXZhL2Fubm9nZW4tMC4xLjAuamFyOi91c3IvbG9jYWwvdml2aXNpbW8tZ291bGRpbmcyL2xpYi9qYXZhL3Bvc3RncmVzcWwtOC4wLTMxMi5qZGJjMy5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvY29tbW9ucy1maWxldXBsb2FkLTEuMS4xLmphcjovdXNyL2xvY2FsL3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS9udGxtLXNlY3VyaXR5LmphcjovdXNyL2xvY2FsL3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS9heGlzMi1rZXJuZWwtMS4xLVNOQVBTSE9ULmphcjovdXNyL2xvY2FsL3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS9tYWlsYXBpLmphcjovdXNyL2xvY2FsL3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS93c3R4LWFzbA==LTMuMC4xLmphcjovdXNyL2xvY2FsL3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS9teXNxbC1jb25uZWN0b3ItamF2YS0zLjEuMTAtYmluLmphcjovdXNyL2xvY2FsL3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS9tYWlsLmphcjovdXNyL2xvY2FsL3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS9jb21tb25zLWh0dHBjbGllbnQtMy4wLjEuamFyOi91c3IvbG9jYWwvdml2aXNpbW8tZ291bGRpbmcyL2xpYi9qYXZhL2F4aW9tLWltcGwtU05BUFNIT1QuamFyOi91c3IvbG9jYWwvdml2aXNpbW8tZ291bGRpbmcyL2xpYi9qYXZhL25lZXRoaS1TTkFQU0hPVC5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvc2hhcmVwb2ludC5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvd29kZW4tMS4wLjBNNi5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvYmFja3BvcnQtdXRpbC1jb25jdXJyZW50LTIuMi5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvanRkcy0xLjEuamFyOi91c3IvbG9jYWwvdml2aXNpbW8tZ291bGRpbmcyL2xpYi9qYXZhL2phcmFwYWMuamFyJyAtWG14MTYwbSAtWFg6K0Rpc3BsYXlWTU91dHB1dFRvU3RkZXJyIC1YWDorSGVhcER1bXBPbk91dE9mTWVtb3J5RXJyb3IgLURqYXZhLmlvLnRtcGRpcj0vdXNyL2xvY2FsL3Zpdmlz'
is not a valid Base64 text sequence. Line 1, position 1775.

Can anyone shed any light on this? I am using the 1.1 RC1 snapshot.

Thanks!

--

JAKE GOULDING
Software Engineer
[EMAIL PROTECTED]

Viví­simo [Search Done Right™]
1710 Murray Avenue
Pittsburgh, PA 15217 USA
tel: +1.412.422.2499 x105
fax: +1.412.422.2495
vivisimo.com  clusty.com




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





--
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

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



Axisxxxx.att TEMP file is not deleted.

2006-10-11 Thread h_iwamoto
Hi,

I use Axis1.4 Attachments.

Attachments file is received by the client, 
but Axis.att file in TEMP directory is not deleted.
ex)C:\DOCUME~1\user\Local Settings\Temp\Axis29066.att

why? please let me know.

I use org.apache.axis.Message#getAttachmentsImpl(),

It doesn't understand of why 
org.apache.axis.attachments.ManagedMemoryDataSource#delete() is not userd.


Windows2000
Tomcat4
Axis1.4

Thanks,
Hide

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



session timeout

2006-10-11 Thread Jana Poornavel

hi,
 as per the understanding i get after viewing the code base related
to session management ,the default timeout the author has approximated
is 30 seconds.but if i know the correct facts a default user transaction
would span at least more than a minute (correct me if i am wrong) or it
can be more or less.is there a way i can configure the time out to suit
my purpose  ?


regards,
jana

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



Intermitent problem using axis 1.4

2006-10-11 Thread emarmonti
Hi people

I have implemented a WS using axis servlet (1.4) and consumes from a
Struts application through axis stubs also. One of the services fails
intermitently cutting the message, the content of the SOAP envelope is
XML too and sometimes the Struts application trying to parse the XML
received gives an stacktrace indicating that the XML document must
start and end with the same entity.

This entirely true because part of
the message was dissapear. The strange thing is that if you invoke again
the service the response most times returns OK and some other times have to
invoke 2 or 3 times to receive the answer...

How could I determine what is working wrong My platform is Win32.

Thanks in advance
Emiliano.


This message was sent using IMP, the Internet Messaging Program.

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