NullPointerException in SchemaCompiler

2008-10-10 Thread Karolina
Hello List,

I am getting the following NullPointerException when running the WSDL2C tool
with my WSDL files.  Any ideas what could be wrong?  I am using  version
1.5.0. (Under version 1.4.0 the tool generated the skeleton service code
without any problems.)

I have validated my WSDL files with Altova XMLSpy and have attempted to
examine them thoroughly for possible causes but no luck.

My WSDL files are attached.

The command I used to run my files:

 sh WSDL2C.sh -uri rbyteio.wsdl -ss -sd -d adb -u -o RandomByteIO

Thanks for any help!
Karolina

-
Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
   at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
   at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
   at org.apache.axis2.wsdl.WSDL2C.main(WSDL2C.java:31)
Caused by: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
   at
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53)
   at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
   ...2 more
Caused by: java.lang.reflect.InvocationTargetException
   at java.lang.reflect.Method.invoke(libgcj.so.81)
   at
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50)
   ...3 more
Caused by: org.apache.axis2.schema.SchemaCompilationException:
java.lang.NullPointerException
   at
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:289)
   at
org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103)
   at java.lang.reflect.Method.invoke(libgcj.so.81)
   ...4 more
Caused by: java.lang.NullPointerException
   at
org.apache.axis2.schema.SchemaCompiler.writeElement(SchemaCompiler.java:522)
   at
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:381)
   at
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:352)
   at
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280)
   ...6 more


wsdlFiles.tar.gz
Description: GNU Zip compressed data
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: nightly axis2/java builds?

2008-10-10 Thread Haszlakiewicz, Eric

Got it, thanks.  Any chance the manual on the website could be updated?

Also, it looks like the "API Documentation" link (on
http://ws.apache.org/axis2/c/docs/index.html) is broken.  I can download
a build and browse the docs locally, but that's a bit hard to use b/c
the search feature doesn't work.  Can this be fixed?

eric

>-Original Message-
>From: Dimuthu Gamage [mailto:[EMAIL PROTECTED] 
>Sent: Friday, October 10, 2008 7:32 AM
>To: Apache AXIS C User List
>Subject: Re: nightly axis2/java builds?
>
>Hi,
>
>Please get the nightly build from 
>http://builder.wso2.org/browse/AXIS2-NIGHTLY
>
>
>Thanks
>Dimuthu
>
>
>On Fri, Oct 10, 2008 at 4:59 AM, Haszlakiewicz, Eric 
><[EMAIL PROTECTED]> wrote:
>
>
>
>   I'm trying to get the most recent code for axis2/java 
>for the wsdl2c
>   tool but I'm having problems.  The link to the nightly 
>builds in the
>   axi2c manual goes to a directory
>   (http://people.apache.org/dist/axis2/nightly/) that 
>only appears to have
>   axis2/c builds.
>   
>   I'm able to browse the repository
>   
>(http://svn.apache.org/viewvc/webservices/axis2/trunk/java/) but when I
>   try to checkout a copy with svn I get this error:
>   svn ls 
>http://svn.apache.org/viewvc/webservices/axis2/trunk/java/
>   svn: Repository moved temporarily to
>   '/viewvc/webservices/axis2/trunk/java/'; please relocate
>   
>   eric
>   
>   
>-
>   To unsubscribe, e-mail: [EMAIL PROTECTED]
>   For additional commands, e-mail: [EMAIL PROTECTED]
>   
>   
>
>
>
>
>-- 
>Thanks,
>Dimuthu Gamage
>
>http://www.dimuthu.org
>http://www.wso2.org
>
>

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



Re: nightly axis2/java builds?

2008-10-10 Thread Dimuthu Gamage
Hi,

Please get the nightly build from
http://builder.wso2.org/browse/AXIS2-NIGHTLY


Thanks
Dimuthu

On Fri, Oct 10, 2008 at 4:59 AM, Haszlakiewicz, Eric <[EMAIL PROTECTED]
> wrote:

>
> I'm trying to get the most recent code for axis2/java for the wsdl2c
> tool but I'm having problems.  The link to the nightly builds in the
> axi2c manual goes to a directory
> (http://people.apache.org/dist/axis2/nightly/) that only appears to have
> axis2/c builds.
>
> I'm able to browse the repository
> (http://svn.apache.org/viewvc/webservices/axis2/trunk/java/) but when I
> try to checkout a copy with svn I get this error:
> svn ls http://svn.apache.org/viewvc/webservices/axis2/trunk/java/
> svn: Repository moved temporarily to
> '/viewvc/webservices/axis2/trunk/java/'; please relocate
>
> eric
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Thanks,
Dimuthu Gamage

http://www.dimuthu.org
http://www.wso2.org


Re: WSDL issue in Axis-C

2008-10-10 Thread Dimuthu Gamage
Hi Primal,

What is the Axis2/Java version you used to generate the code?. And if
possible please send us the service code.

Thanks
Dimuthu

On Fri, Oct 10, 2008 at 4:12 PM, Samisa Abeysinghe <[EMAIL PROTECTED]> wrote:

> Primal Wijesekera wrote:
>
>> Hi,
>>
>> I am using WSF-C version 1.3 from WSO2, and i think the version of Axis2c
>> is 1.4. Apache version is 2.2.6 .
>>
>
> This might be a problem with WSO2 framework and not Axis2/C. Specially
> something related to configuration. Please raise the issue with the WSO2
> forums.
>
> Thanks,
> Samisa...
>
>
>> Axis2 C should work with WSDL, right ?
>>
>> Regards,
>> Primal
>>
>>
>> - Original Message 
>> From: Samisa Abeysinghe <[EMAIL PROTECTED]>
>> To: Apache AXIS C User List 
>> Sent: Friday, October 10, 2008 1:17:09 PM
>> Subject: Re: WSDL issue in Axis-C
>>
>> hmm that is very strange. What is the version of Axis2 taht you are using?
>>
>> SAmisa...
>>
>> Primal Wijesekera wrote:
>> > No, TCPMon did not show any response from the server end.
>> >
>> > I think server crashes before sending the response. When I checked a
>> > memory dump of the crashed process, it says something wrong about
>> > "axis2_engine.dll". But I am not an expert in examining memory dumps
>> > so I might be wrong.
>> >
>> > Regards,
>> > Primal
>> >
>> > - Original Message 
>> > From: Samisa Abeysinghe <[EMAIL PROTECTED] >
>> > To: Apache AXIS C User List > axis-c-user@ws.apache.org>>
>> > Sent: Friday, October 10, 2008 10:46:56 AM
>> > Subject: Re: WSDL issue in Axis-C
>> >
>> > The error happens in parsing the response sent from the service. Did you
>> > not get a response on TCPMon?
>> >
>> > Samisa...
>> >
>> > Primal Wijesekera wrote:
>> > > Hi,
>> > >
>> > > There is not response from the server. When a client send the request,
>> > > it gets crashed so response from it.
>> > >
>> > > I am attaching the client requests received by the server. I captured
>> > > this using tcpmon tool.
>> > >
>> > > When I uses .Net 2003 client it crashed without giving any errors,
>> > > when I used the .Net 2008 client it crashed giving the error message
>> > > "Invalid XML"
>> > >
>> > > As of I know this can not be happened, like different client should
>> > > not have different SOAP request since they all work on a same WSDL.
>> > > However unfortunately it is happening, thats why i am suspecting that
>> > > there can be error in the WSDL mapping.
>> > >
>> > > Regards,
>> > > Primal
>> > >
>> > > - Original Message 
>> > > From: Samisa Abeysinghe <[EMAIL PROTECTED] 
>> >>
>> > > To: Apache AXIS C User List > axis-c-user@ws.apache.org>
>> > >>
>> > > Sent: Friday, October 10, 2008 9:54:49 AM
>> > > Subject: Re: WSDL issue in Axis-C
>> > >
>> > > What is the request/response pair?
>> > >
>> > > Samisa...
>> > >
>> > > Primal Wijesekera wrote:
>> > > >
>> > > > Hi,
>> > > >
>> > > > I am using Apache 2.2.6 and wso2-wsf-c 1.3.0 on windows. I have
>> > > > successfully configured the WSF to work with Apache. It now shows
>> the
>> > > > services deploy in Axis-c using apache web server. All the example
>> > > > clients shipped with axis-c is alse working (echo.exe).
>> > > >
>> > > > But my problem is with integrating wsdl with those services. When i
>> > > > tried to access the WSDL given for the calulator service from the
>> .net
>> > > > client, it successfully detects the WSDL and create client ctub but
>> > > > when a method is called from that client the axis-c server gets
>> > > > crashed. I even tried this with the simple http server that comes
>> with
>> > > > the Axis-c, btu still it crashes when a client calls its services
>> via
>> > > > WSDL. So my What i feel is, there is something wrong in the WSDL to
>> > > > service mapping. Would that happen ?
>> > > >
>> > > > What could be the reason for this ??
>> > > >
>> > > > P.S : Attached is the WSDL and the service.xml for calculator
>> service.
>> > > >
>> > > >
>> > > > Regards,
>> > > > Primal
>> > > >
>> > > >
>> > > >
>> > 
>> > > >
>> > > >
>> -
>> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]> [EMAIL PROTECTED]>
>> >  [EMAIL PROTECTED]>>
>> > >  [EMAIL PROTECTED]>
>> >  [EMAIL PROTECTED]>>>
>> > > > For additional commands, e-mail: [EMAIL PROTECTED]> [EMAIL PROTECTED]>
>> >  [EMAIL PROTECTED]>>
>> > >  [EMAIL PROTECTED]>
>> >  [EMAIL PROTECTED]>>>
>> > > >
>> > 
>> > > >
>> > > >
>> > > > No virus found in this incoming message.
>> > > > Checked by AVG - http://w

Re: WSDL issue in Axis-C

2008-10-10 Thread Samisa Abeysinghe

Primal Wijesekera wrote:

Hi,

I am using WSF-C version 1.3 from WSO2, and i think the version of 
Axis2c is 1.4. Apache version is 2.2.6 .


This might be a problem with WSO2 framework and not Axis2/C. Specially 
something related to configuration. Please raise the issue with the WSO2 
forums.


Thanks,
Samisa...



Axis2 C should work with WSDL, right ?

Regards,
Primal


- Original Message 
From: Samisa Abeysinghe <[EMAIL PROTECTED]>
To: Apache AXIS C User List 
Sent: Friday, October 10, 2008 1:17:09 PM
Subject: Re: WSDL issue in Axis-C

hmm that is very strange. What is the version of Axis2 taht you are using?

SAmisa...

Primal Wijesekera wrote:
> No, TCPMon did not show any response from the server end.
>
> I think server crashes before sending the response. When I checked a
> memory dump of the crashed process, it says something wrong about
> "axis2_engine.dll". But I am not an expert in examining memory dumps
> so I might be wrong.
>
> Regards,
> Primal
>
> - Original Message 
> From: Samisa Abeysinghe <[EMAIL PROTECTED] >
> To: Apache AXIS C User List >

> Sent: Friday, October 10, 2008 10:46:56 AM
> Subject: Re: WSDL issue in Axis-C
>
> The error happens in parsing the response sent from the service. Did you
> not get a response on TCPMon?
>
> Samisa...
>
> Primal Wijesekera wrote:
> > Hi,
> >
> > There is not response from the server. When a client send the request,
> > it gets crashed so response from it.
> >
> > I am attaching the client requests received by the server. I captured
> > this using tcpmon tool.
> >
> > When I uses .Net 2003 client it crashed without giving any errors,
> > when I used the .Net 2008 client it crashed giving the error message
> > "Invalid XML"
> >
> > As of I know this can not be happened, like different client should
> > not have different SOAP request since they all work on a same WSDL.
> > However unfortunately it is happening, thats why i am suspecting that
> > there can be error in the WSDL mapping.
> >
> > Regards,
> > Primal
> >
> > - Original Message 
> > From: Samisa Abeysinghe <[EMAIL PROTECTED]  
>>
> > To: Apache AXIS C User List 

> >>
> > Sent: Friday, October 10, 2008 9:54:49 AM
> > Subject: Re: WSDL issue in Axis-C
> >
> > What is the request/response pair?
> >
> > Samisa...
> >
> > Primal Wijesekera wrote:
> > >
> > > Hi,
> > >
> > > I am using Apache 2.2.6 and wso2-wsf-c 1.3.0 on windows. I have
> > > successfully configured the WSF to work with Apache. It now 
shows the

> > > services deploy in Axis-c using apache web server. All the example
> > > clients shipped with axis-c is alse working (echo.exe).
> > >
> > > But my problem is with integrating wsdl with those services. When i
> > > tried to access the WSDL given for the calulator service from 
the .net

> > > client, it successfully detects the WSDL and create client ctub but
> > > when a method is called from that client the axis-c server gets
> > > crashed. I even tried this with the simple http server that 
comes with
> > > the Axis-c, btu still it crashes when a client calls its 
services via

> > > WSDL. So my What i feel is, there is something wrong in the WSDL to
> > > service mapping. Would that happen ?
> > >
> > > What could be the reason for this ??
> > >
> > > P.S : Attached is the WSDL and the service.xml for calculator 
service.

> > >
> > >
> > > Regards,
> > > Primal
> > >
> > >
> > >
> 
> > >
> > > 
-
> > > To unsubscribe, e-mail: [EMAIL PROTECTED] 

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

> >
> > 
> >>

> > >
> 
> > >
> > >
> > > No virus found in this incoming message.
> > > Checked by AVG - http://www.avg.com
> > > Version: 8.0.173 / Virus Database: 270.7.6/1715 - Release Date:
> > 10/8/2008 7:19 PM
> > >
> >
> >
> > --
> > Samisa Abeysinghe
> > Director, Engineering; WSO2 Inc.
> >
> > http://www.wso2.com/ - "The Open Source SOA Company"
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED] 

> >
> > 
> 

Re: RE : RE : Axis2/C built with SSL support. axis2_http_sender.dll fails to load

2008-10-10 Thread Laksh

Hi,

The HTTP Headers sent in the request

POST /WebCC/wser/WServiceHandler HTTP/1.1
User-Agent: Axis2C/1.5.0
SOAPAction: ""
Content-Length: 358
Content-Type: text/xml;charset=UTF-8
Host: 192.148.145.234:80

HTTP Headers in the response 

HTTP/1.1 200 OK
Server: FPWS/1.0
Date: Fri, 10 Oct 2008 08:20:29 GMT
Content-type: text/xml
Content-language: en
Transfer-encoding: chunked

I have tried adding some debug statements in Axis2/C code and found that in
the below code snippet it is failing.
File: om_stax_builder.c
Function: axiom_stax_builder_next_with_token

Code snippet:

token = axiom_xml_reader_next(om_builder->parser, env);
om_builder->current_event = token;
if (token == -1)
{ 
 // Laksh -> It is coming here and exiting.
  om_builder->done = AXIS2_TRUE; 
  return -1;
}

Any clues why this is happening? We have the same code deployed in dev
environment which is handling the response but not in test environment.

Please proivde any pointers on resolving this issue.

Thanks!
Laksh


Samisa Abeysinghe-4 wrote:
> 
> What are the http headers being sent in the request? Specially, what is 
> the content type?
> 
> Samisa...
> 
> Laksh wrote:
>> Hi,
>>
>> There are no attachments MTOM optimized with mime_headers.
>>
>> The response returned by the webservice and also the sniffer running on
>> the
>> test machine found is
>>  
>> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
>> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>> 
>> 
>> 
>>  abc
>>  
>>  
>>  
>>  testreturn_value
>>  Micky
>>  
>>  
>> 
>> 
>>
>> Anything wrong in this? Any help will be greatly useful.
>>
>> Thanks!
>> Laksh
>>
>>
>> Manjula Peiris wrote:
>>   
>>> Can you send us the SOAP response ? And is it contains attachments MTOM
>>> optimized with mime_headers ?
>>>
>>> On Thu, 2008-10-09 at 02:42 -0700, Laksh wrote:
>>> 
 Hi,

 Now most of the problems I was facing were resolved.

 1) I wasn't setting the SERVER_CERT properly. Now I am just getting the
 output of the command provided in the Axis2/C doc to get the server
 certificate and putting it in the a .pem file. (no key-cert pair in the
 file
 though)
 2) I have built OpenSSL with the different name for the libraries and
 built
 Axis2/C with the modifed libraries. Now http_sender.dll is able to load
 and
 works fine. Using the same openssl libraries as Websphere didn't work
 at
 all.

 After these two change now SOAP client is working fine in two of the
 envionments. When we moved to a another environment we are getting
 "AXIS
 Error Code: 188, Error Message: SOAP message does not contain a SOAP
 envelope element" error in axis2_svc_client_send_receive() call. The
 webservice we are connecting now is different but it is returning a
 valid
 SOAP envelope.

 What could be the issue here? 

 We are setting SOAP1.1 version in the svc_client and the webservice we
 are
 sending request to does not support SOAP1.2. 

 Any pointers regarding this issue will be very helpful.

 Thanks!
 Laksh


 Laksh wrote:
   
> Hi,
>
> I am wondering whether the SERVER_CERT specified in axis2.xml cause of
> this issue. We are not interested in enabling client authentication.
> So
> 
 my
   
> doubts are
> 1) Do I need to provide SERVER_CERT in axis2.xml? We are not
> interested
> 
 in
   
> setting up client authentication
> 2) If this is required, what should be the value? Can I generate a
> self-signed certificate to get the .pem file?
> 3) IBM Websphere doesn't allow exporting private key to create .pem
> 
 file.
   
> Is it really neccessary to do this if we are not doing client
> authentication?
>
> Will these configurations affect loading of axis2_http_sender.dll? The
> error I get is "DLERROR IS DLL Load Error 182"
>
> The openssl DLL's are in path and there is single version of openssl
> 
 dll
   
> in the test machine. Also dependency walker doesn't show any errors in
> finding the dll's.
>
> Any clarification on will be veru much helpful.
>
> Thanks!
> Laksh
>
>
> Laksh wrote:
> 
>> Hi,
>>
>> I am looking into debugging this issue and fix if possible.
>>
>> Which method will be called when axis2_http_sender.dll is loaded? I
>> am
>> not finding DLLmain() method anywhere in the source files, is there
>>   
 any
   
>> other method I can look into?
>>
>> Does the axis2_ssl_utils_initialize_ctx() called when SSL support is
>> enabled? It 

Re: WSDL issue in Axis-C

2008-10-10 Thread Primal Wijesekera
Hi,

I am using WSF-C version 1.3 from WSO2, and i think the version of Axis2c is 
1.4. Apache version is 2.2.6 .

Axis2 C should work with WSDL, right ?

Regards,
Primal




- Original Message 
From: Samisa Abeysinghe <[EMAIL PROTECTED]>
To: Apache AXIS C User List 
Sent: Friday, October 10, 2008 1:17:09 PM
Subject: Re: WSDL issue in Axis-C

hmm that is very strange. What is the version of Axis2 taht you are using?

SAmisa...

Primal Wijesekera wrote:
> No, TCPMon did not show any response from the server end.
>
> I think server crashes before sending the response. When I checked a 
> memory dump of the crashed process, it says something wrong about 
> "axis2_engine.dll". But I am not an expert in examining memory dumps 
> so I might be wrong.
>
> Regards,
> Primal
>
> - Original Message 
> From: Samisa Abeysinghe <[EMAIL PROTECTED]>
> To: Apache AXIS C User List 
> Sent: Friday, October 10, 2008 10:46:56 AM
> Subject: Re: WSDL issue in Axis-C
>
> The error happens in parsing the response sent from the service. Did you
> not get a response on TCPMon?
>
> Samisa...
>
> Primal Wijesekera wrote:
> > Hi,
> >
> > There is not response from the server. When a client send the request,
> > it gets crashed so response from it.
> >
> > I am attaching the client requests received by the server. I captured
> > this using tcpmon tool.
> >
> > When I uses .Net 2003 client it crashed without giving any errors,
> > when I used the .Net 2008 client it crashed giving the error message
> > "Invalid XML"
> >
> > As of I know this can not be happened, like different client should
> > not have different SOAP request since they all work on a same WSDL.
> > However unfortunately it is happening, thats why i am suspecting that
> > there can be error in the WSDL mapping.
> >
> > Regards,
> > Primal
> >
> > - Original Message 
> > From: Samisa Abeysinghe <[EMAIL PROTECTED] >
> > To: Apache AXIS C User List  >
> > Sent: Friday, October 10, 2008 9:54:49 AM
> > Subject: Re: WSDL issue in Axis-C
> >
> > What is the request/response pair?
> >
> > Samisa...
> >
> > Primal Wijesekera wrote:
> > >
> > > Hi,
> > >
> > > I am using Apache 2.2.6 and wso2-wsf-c 1.3.0 on windows. I have
> > > successfully configured the WSF to work with Apache. It now shows the
> > > services deploy in Axis-c using apache web server. All the example
> > > clients shipped with axis-c is alse working (echo.exe).
> > >
> > > But my problem is with integrating wsdl with those services. When i
> > > tried to access the WSDL given for the calulator service from the .net
> > > client, it successfully detects the WSDL and create client ctub but
> > > when a method is called from that client the axis-c server gets
> > > crashed. I even tried this with the simple http server that comes with
> > > the Axis-c, btu still it crashes when a client calls its services via
> > > WSDL. So my What i feel is, there is something wrong in the WSDL to
> > > service mapping. Would that happen ?
> > >
> > > What could be the reason for this ??
> > >
> > > P.S : Attached is the WSDL and the service.xml for calculator service.
> > >
> > >
> > > Regards,
> > > Primal
> > >
> > >
> > > 
> 
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED] 
> 
> >  >
> > > For additional commands, e-mail: [EMAIL PROTECTED] 
> 
> >  >
> > > 
> 
> > >
> > >
> > > No virus found in this incoming message.
> > > Checked by AVG - http://www.avg.com
> > > Version: 8.0.173 / Virus Database: 270.7.6/1715 - Release Date:
> > 10/8/2008 7:19 PM
> > >
> >
> >
> > --
> > Samisa Abeysinghe
> > Director, Engineering; WSO2 Inc.
> >
> > http://www.wso2.com/ - "The Open Source SOA Company"
> >
> >
> > -
> > 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] 
> 
> > 
> >
> >
> > No virus found in this incoming message.
> > Checked by AVG - http://www.avg.com
> > Version: 8.0.173 / Virus Databas

Re: WSDL issue in Axis-C

2008-10-10 Thread Samisa Abeysinghe

hmm that is very strange. What is the version of Axis2 taht you are using?

SAmisa...

Primal Wijesekera wrote:

No, TCPMon did not show any response from the server end.

I think server crashes before sending the response. When I checked a 
memory dump of the crashed process, it says something wrong about 
"axis2_engine.dll". But I am not an expert in examining memory dumps 
so I might be wrong.


Regards,
Primal

- Original Message 
From: Samisa Abeysinghe <[EMAIL PROTECTED]>
To: Apache AXIS C User List 
Sent: Friday, October 10, 2008 10:46:56 AM
Subject: Re: WSDL issue in Axis-C

The error happens in parsing the response sent from the service. Did you
not get a response on TCPMon?

Samisa...

Primal Wijesekera wrote:
> Hi,
>
> There is not response from the server. When a client send the request,
> it gets crashed so response from it.
>
> I am attaching the client requests received by the server. I captured
> this using tcpmon tool.
>
> When I uses .Net 2003 client it crashed without giving any errors,
> when I used the .Net 2008 client it crashed giving the error message
> "Invalid XML"
>
> As of I know this can not be happened, like different client should
> not have different SOAP request since they all work on a same WSDL.
> However unfortunately it is happening, thats why i am suspecting that
> there can be error in the WSDL mapping.
>
> Regards,
> Primal
>
> - Original Message 
> From: Samisa Abeysinghe <[EMAIL PROTECTED] >
> To: Apache AXIS C User List >

> Sent: Friday, October 10, 2008 9:54:49 AM
> Subject: Re: WSDL issue in Axis-C
>
> What is the request/response pair?
>
> Samisa...
>
> Primal Wijesekera wrote:
> >
> > Hi,
> >
> > I am using Apache 2.2.6 and wso2-wsf-c 1.3.0 on windows. I have
> > successfully configured the WSF to work with Apache. It now shows the
> > services deploy in Axis-c using apache web server. All the example
> > clients shipped with axis-c is alse working (echo.exe).
> >
> > But my problem is with integrating wsdl with those services. When i
> > tried to access the WSDL given for the calulator service from the .net
> > client, it successfully detects the WSDL and create client ctub but
> > when a method is called from that client the axis-c server gets
> > crashed. I even tried this with the simple http server that comes with
> > the Axis-c, btu still it crashes when a client calls its services via
> > WSDL. So my What i feel is, there is something wrong in the WSDL to
> > service mapping. Would that happen ?
> >
> > What could be the reason for this ??
> >
> > P.S : Attached is the WSDL and the service.xml for calculator service.
> >
> >
> > Regards,
> > Primal
> >
> >
> > 


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

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

> >
> > 


> >
> >
> > No virus found in this incoming message.
> > Checked by AVG - http://www.avg.com
> > Version: 8.0.173 / Virus Database: 270.7.6/1715 - Release Date:
> 10/8/2008 7:19 PM
> >
>
>
> --
> Samisa Abeysinghe
> Director, Engineering; WSO2 Inc.
>
> http://www.wso2.com/ - "The Open Source SOA Company"
>
>
> -
> 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] 


> 
>
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com
> Version: 8.0.173 / Virus Database: 270.7.6/1715 - Release Date: 
10/8/2008 7:19 PM

>


--
Samisa Abeysinghe
Director, Engineering; WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"


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

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







No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.173 / Virus Database: 270.7.6/1715 - Release Date: 1