You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Sahan Gamage <sa...@wso2.com> on 2006/07/08 20:57:29 UTC

[Axis2]Re: Binary data problems

Paweł Pustelnik wrote:

> Hi Samisa,
>
> I downloaded Axis2C and other necessary files, however I can not run
> it  with
> Apache 2.0.55 (Windows XP Platform). I can run axis2 service without
> Apache
> (examples work with it) but I can not run it as Apache module.
> When I am trying to start apache I get this:
>
> The reuested operation has failed.
>
> This is the end of my httpd.conf:
>
> LoadModule axis2_module modules/mod_axis2.dll
> <Location /axis2>
>     SetHandler axis2
>     RepoPath C:/Program Files/Apache Group/Apache2/axis2c/logs

Is this the correct location of your repository ? May be I am mislead by
the name of the folder

>
>     LogFile C:/Program Files/Apache Group/Apache2/axis2c/logs/axis2.log
>     Axis2LogLevel AXIS2_LOG_LEVEL_CRITICAL
> </Location>
>
> Pawel

What does the axis2.log file say ?

- sahan

>
> Dnia 08-07-2006 o 09:50:50 Samisa Abeysinghe
> <sa...@gmail.com>  napisał:
>
>> Paweł Pustelnik wrote:
>>
>>> Hi All,
>>>
>>> I have already posted two messages about binary data problems but
>>> with  no  reply.
>>> I hope this time somebody can help me:)
>>>
>>> In my apllication I use web service which is written with Apache
>>> Axis.  The  main goal of this
>>> service is to send a large files (large, from 1 Mb to 100 Mb). There
>>> is  no  problem when I want
>>> to send  small images (less than 5 Mb) but with larger ones I find
>>> all  the  time the problems.
>>>
>>> Here is the code responsibly for sending these files:
>>>
>>> xsd__base64Binary FileWebService::getBinaryFile(xsd__string  
>>> Value0,xsd__string Value1)
>>> {
>>>     string fileName = "C:\\Program Files\\Apache  
>>> Group\\Apache2\\htdocs\\Files\\";
>>>     fileName += "file_";
>>>     fileName += Value1;
>>>     fileName += ".bin";
>>>
>>>     FILE *pFile;
>>>       pFile = fopen ( fileName.c_str() , "rb" );
>>>         // obtain file size.
>>>     fseek (pFile , 0 , SEEK_END);
>>>       long lSize = ftell (pFile);
>>>       rewind (pFile);
>>>
>>>      // allocate memory to contain the whole file.
>>>       unsigned char* buffer = new unsigned char[lSize];
>>>       if (buffer == NULL) exit (2);
>>>
>>>     // copy the file into the buffer.
>>>       fread (buffer,1,lSize,pFile);
>>>     fclose (pFile);
>>>
>>>     xsd__base64Binary tab;
>>>     tab.set(buffer, lSize);
>>>     //delete buffer;
>>>     return tab;
>>> }
>>>
>>>
>>> I tested this service with two clients. First one which is written 
>>> with  Axis does not work,
>>> even for small images. I always get the error message about Timed
>>> Out...
>>>
>>> The second client is written in C# and it works fine, however it
>>> gets   WebService Failed message
>>> for large files.
>>> I even decided to write the service funtcion which can send large
>>> files  in  many parts (every
>>> part = 10 Mb) but it still does not help and gives errors.
>>>
>>> Thanks,
>>> Pawel
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>>
>>>
>> I am not sure what is causing the problem on Axis C++.
>> However, you may try the same with Axis2/C MTOM support. We have
>> tested  the C implementation with Java clients, but not with C#.
>>
>> Samisa...
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>
>>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: [Axis2]Re: Binary data problems

Posted by Paweł Pustelnik <pp...@future-processing.com>.
Dnia 09-07-2006 o 10:35:05 Sahan Gamage <sa...@wso2.com> napisał:

> Hi,
>
> Module works only with Apache 2.0.xx since it was compiled against that
> version. If you want to run it with 2.2.xx you have to recompile the
> module agaist 2.2.xx libraries.
> Paweł Pustelnik wrote:
>
>> I still can not run it as a module, I tried with Apache 2.2.x this time.
>>
>> LoadModule axis2_module modules/mod_axis2.dll
>> <Location /axis2>
>>     SetHandler axis2_module
>>     RepoPath "C:/Program Files/Apache Group/Apache2/axis2c"
>>     LogFile "C:/Program Files/Apache  
>> Group/Apache2/axis2c/logs/axis2.log"
>>     Axis2LogLevel AXIS2_LOG_LEVEL_CRITICAL
>> </Location>
>>
>> It seems to be ok but it doesn't start. Is it possible to load the  
>> module
>> only using this line ?:
>>
>> LoadModule axis2_module modules/mod_axis2.dll
>>
>> The previous version of Axis can be loaded this way.
>> But Axis2 can not:
>
> You cannot load without the <Location></Location> tags. Also you need to
> specify the repo and the log file. Sorry I don't know how AxisC++ does  
> it.
>
>>
>> httpd.exe: Syntax error on line 486 of C:/Program Files/Apache
>> Software  Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program
>> Files/Apache  Software Foundation/Apache2.2/modules/mod_axis2.dll into
>> server
>>
> Is your path set to C:/Program Files/Apache Group/Apache2/axis2c/lib ?
> Can you run the axis2_http_server.exe in the C:/Program Files/Apache
> Group/Apache2/axis2c/bin folder ?

Yes, I can. Examples work fine with this server.

> - sahan
>
>> Dnia 08-07-2006 o 21:23:16 Sahan Gamage <sa...@wso2.com> napisał:
>>
>>> Paweł Pustelnik wrote:
>>>
>>>> RepoPath C:/Program Files/Apache Group/Apache2/axis2c/logs
>>>>
>>>>>
>>>>> Is this the correct location of your repository ? May be I am
>>>>> mislead  by
>>>>> the name of the folder
>>>>
>>>>
>>>> I just typed this directory because I don't know what this repository
>>>> means.
>>>
>>>
>>> Ok. The repository means where the axis2c stuff are located. This
>>> includes axis2.xml, libs folder, modules folder, services folder, logs
>>> folder and the binaries (optional). When you extract the distrbution
>>> that folder is normally the repository.
>>>
>>>>
>>>>>>
>>>>>>     LogFile C:/Program Files/Apache
>>>>>> Group/Apache2/axis2c/logs/axis2.log
>>>>>>     Axis2LogLevel AXIS2_LOG_LEVEL_CRITICAL
>>>>>> </Location>
>>>>>>
>>>>>> Pawel
>>>>>
>>>>>
>>>>>
>>>>> What does the axis2.log file say ?
>>>>
>>>>
>>>> It is empty
>>>>
>>>>
>>>> Pawel
>>>>
>>>>
>>> - sahan
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>>
>>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>



-- 

Pawel Pustelnik
Control Engineer

-----------------------------------------------
  Future Processing Sp. z o.o.
  Tel: +48 604 084 653
  Tel/Fax: +48 32 2726202
  ppustelnik@future-processing.com
  www.future-processing.com
-----------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: [Axis2]Re: Binary data problems

Posted by Sahan Gamage <sa...@wso2.com>.
Hi,

Module works only with Apache 2.0.xx since it was compiled against that
version. If you want to run it with 2.2.xx you have to recompile the
module agaist 2.2.xx libraries.
Paweł Pustelnik wrote:

> I still can not run it as a module, I tried with Apache 2.2.x this time.
>
> LoadModule axis2_module modules/mod_axis2.dll
> <Location /axis2>
>     SetHandler axis2_module
>     RepoPath "C:/Program Files/Apache Group/Apache2/axis2c"
>     LogFile "C:/Program Files/Apache Group/Apache2/axis2c/logs/axis2.log"
>     Axis2LogLevel AXIS2_LOG_LEVEL_CRITICAL
> </Location>
>
> It seems to be ok but it doesn't start. Is it possible to load the module
> only using this line ?:
>
> LoadModule axis2_module modules/mod_axis2.dll
>
> The previous version of Axis can be loaded this way.
> But Axis2 can not:

You cannot load without the <Location></Location> tags. Also you need to
specify the repo and the log file. Sorry I don't know how AxisC++ does it.

>
> httpd.exe: Syntax error on line 486 of C:/Program Files/Apache
> Software  Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program
> Files/Apache  Software Foundation/Apache2.2/modules/mod_axis2.dll into
> server
>
Is your path set to C:/Program Files/Apache Group/Apache2/axis2c/lib ?
Can you run the axis2_http_server.exe in the C:/Program Files/Apache
Group/Apache2/axis2c/bin folder ?

- sahan

> Dnia 08-07-2006 o 21:23:16 Sahan Gamage <sa...@wso2.com> napisał:
>
>> Paweł Pustelnik wrote:
>>
>>> RepoPath C:/Program Files/Apache Group/Apache2/axis2c/logs
>>>
>>>>
>>>> Is this the correct location of your repository ? May be I am
>>>> mislead  by
>>>> the name of the folder
>>>
>>>
>>> I just typed this directory because I don't know what this repository
>>> means.
>>
>>
>> Ok. The repository means where the axis2c stuff are located. This
>> includes axis2.xml, libs folder, modules folder, services folder, logs
>> folder and the binaries (optional). When you extract the distrbution
>> that folder is normally the repository.
>>
>>>
>>>>>
>>>>>     LogFile C:/Program Files/Apache 
>>>>> Group/Apache2/axis2c/logs/axis2.log
>>>>>     Axis2LogLevel AXIS2_LOG_LEVEL_CRITICAL
>>>>> </Location>
>>>>>
>>>>> Pawel
>>>>
>>>>
>>>>
>>>> What does the axis2.log file say ?
>>>
>>>
>>> It is empty
>>>
>>>
>>> Pawel
>>>
>>>
>> - sahan
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>
>>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: [Axis2]Re: Binary data problems

Posted by Paweł Pustelnik <pp...@future-processing.com>.
I still can not run it as a module, I tried with Apache 2.2.x this time.

LoadModule axis2_module modules/mod_axis2.dll
<Location /axis2>
	SetHandler axis2_module
	RepoPath "C:/Program Files/Apache Group/Apache2/axis2c"
	LogFile "C:/Program Files/Apache Group/Apache2/axis2c/logs/axis2.log"
	Axis2LogLevel AXIS2_LOG_LEVEL_CRITICAL
</Location>

It seems to be ok but it doesn't start. Is it possible to load the module
only using this line ?:

LoadModule axis2_module modules/mod_axis2.dll

The previous version of Axis can be loaded this way.
But Axis2 can not:

httpd.exe: Syntax error on line 486 of C:/Program Files/Apache Software  
Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/Apache  
Software Foundation/Apache2.2/modules/mod_axis2.dll into server

Dnia 08-07-2006 o 21:23:16 Sahan Gamage <sa...@wso2.com> napisał:

> Paweł Pustelnik wrote:
>
>> RepoPath C:/Program Files/Apache Group/Apache2/axis2c/logs
>>
>>>
>>> Is this the correct location of your repository ? May be I am mislead  
>>> by
>>> the name of the folder
>>
>> I just typed this directory because I don't know what this repository
>> means.
>
> Ok. The repository means where the axis2c stuff are located. This
> includes axis2.xml, libs folder, modules folder, services folder, logs
> folder and the binaries (optional). When you extract the distrbution
> that folder is normally the repository.
>
>>
>>>>
>>>>     LogFile C:/Program Files/Apache  
>>>> Group/Apache2/axis2c/logs/axis2.log
>>>>     Axis2LogLevel AXIS2_LOG_LEVEL_CRITICAL
>>>> </Location>
>>>>
>>>> Pawel
>>>
>>>
>>> What does the axis2.log file say ?
>>
>> It is empty
>>
>>
>> Pawel
>>
>>
> - sahan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>



-- 

Pawel Pustelnik
Control Engineer

-----------------------------------------------
  Future Processing Sp. z o.o.
  Tel: +48 604 084 653
  Tel/Fax: +48 32 2726202
  ppustelnik@future-processing.com
  www.future-processing.com
-----------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: [Axis2]Re: Binary data problems

Posted by Sahan Gamage <sa...@wso2.com>.
Paweł Pustelnik wrote:

> RepoPath C:/Program Files/Apache Group/Apache2/axis2c/logs
>
>>
>> Is this the correct location of your repository ? May be I am mislead by
>> the name of the folder
>
> I just typed this directory because I don't know what this repository 
> means.

Ok. The repository means where the axis2c stuff are located. This
includes axis2.xml, libs folder, modules folder, services folder, logs
folder and the binaries (optional). When you extract the distrbution
that folder is normally the repository.

>
>>>
>>>     LogFile C:/Program Files/Apache Group/Apache2/axis2c/logs/axis2.log
>>>     Axis2LogLevel AXIS2_LOG_LEVEL_CRITICAL
>>> </Location>
>>>
>>> Pawel
>>
>>
>> What does the axis2.log file say ?
>
> It is empty
>
>
> Pawel
>
>
- sahan

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: [Axis2]Re: Binary data problems

Posted by Paweł Pustelnik <pp...@future-processing.com>.
Dnia 10-07-2006 o 12:20:55 Sahan Gamage <sa...@wso2.com> napisał:

> Hi,
> Paweł Pustelnik wrote
>
>> Hello again,
>>
>> I finally can run axis2 as an apache module. However it is starnge a
>> little.
>> I have to copy all dll files from axis2c\lib to apaache2\modules.
>> It is strange because axis2c\lib is in my PATH variable and I can
>> run axis2_http_server with no problems.
>
> Strange indeed. I can run it without any problems when the libs are in
> axis2c/lib. Are you running apache2 using command line or the gui tool ?
> If GUI tool, I suspect that it doesn't pickup the PATH variable.

I tried with GUI tool and from command line - the same results...


>>
>> Anyway.. it is working now:)
>
> Cool.
>
>
> - sahan
>
>>
>> Dnia 09-07-2006 o 03:20:36 Samisa Abeysinghe
>> <sa...@gmail.com>  napisał:
>>
>>> Paweł Pustelnik wrote:
>>>
>>>> RepoPath C:/Program Files/Apache Group/Apache2/axis2c/logs
>>>>
>>>>>
>>>>> Is this the correct location of your repository ? May be I am
>>>>> mislead  by
>>>>> the name of the folder
>>>>
>>>>
>>>> I just typed this directory because I don't know what this
>>>> repository   means.
>>>
>>>
>>> Well, you have to give the folder containing the axis2.xml as the
>>> repo  path. The sub folders lib; services, modules should also be
>>> there on  this folder.
>>> Where have you extracted the binary distribution?
>>>
>>> Samisa...
>>>
>>>>
>>>>>>
>>>>>>     LogFile C:/Program Files/Apache
>>>>>> Group/Apache2/axis2c/logs/axis2.log
>>>>>>     Axis2LogLevel AXIS2_LOG_LEVEL_CRITICAL
>>>>>> </Location>
>>>>>>
>>>>>> Pawel
>>>>>
>>>>>
>>>>>
>>>>> What does the axis2.log file say ?
>>>>
>>>>
>>>> It is empty
>>>>
>>>>
>>>> Pawel
>>>>
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>>
>>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>



-- 

Pawel Pustelnik
Control Engineer

-----------------------------------------------
  Future Processing Sp. z o.o.
  Tel: +48 604 084 653
  Tel/Fax: +48 32 2726202
  ppustelnik@future-processing.com
  www.future-processing.com
-----------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: [Axis2]Re: Binary data problems

Posted by Sahan Gamage <sa...@wso2.com>.
Hi,
Paweł Pustelnik wrote

> Hello again,
>
> I finally can run axis2 as an apache module. However it is starnge a 
> little.
> I have to copy all dll files from axis2c\lib to apaache2\modules.
> It is strange because axis2c\lib is in my PATH variable and I can
> run axis2_http_server with no problems.

Strange indeed. I can run it without any problems when the libs are in
axis2c/lib. Are you running apache2 using command line or the gui tool ?
If GUI tool, I suspect that it doesn't pickup the PATH variable.

>
> Anyway.. it is working now:)

Cool.


- sahan

>
> Dnia 09-07-2006 o 03:20:36 Samisa Abeysinghe
> <sa...@gmail.com>  napisał:
>
>> Paweł Pustelnik wrote:
>>
>>> RepoPath C:/Program Files/Apache Group/Apache2/axis2c/logs
>>>
>>>>
>>>> Is this the correct location of your repository ? May be I am
>>>> mislead  by
>>>> the name of the folder
>>>
>>>
>>> I just typed this directory because I don't know what this
>>> repository   means.
>>
>>
>> Well, you have to give the folder containing the axis2.xml as the
>> repo  path. The sub folders lib; services, modules should also be
>> there on  this folder.
>> Where have you extracted the binary distribution?
>>
>> Samisa...
>>
>>>
>>>>>
>>>>>     LogFile C:/Program Files/Apache 
>>>>> Group/Apache2/axis2c/logs/axis2.log
>>>>>     Axis2LogLevel AXIS2_LOG_LEVEL_CRITICAL
>>>>> </Location>
>>>>>
>>>>> Pawel
>>>>
>>>>
>>>>
>>>> What does the axis2.log file say ?
>>>
>>>
>>> It is empty
>>>
>>>
>>> Pawel
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>
>>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: [Axis2]Re: Binary data problems

Posted by Paweł Pustelnik <pp...@future-processing.com>.
Hello again,

I finally can run axis2 as an apache module. However it is starnge a  
little.
I have to copy all dll files from axis2c\lib to apaache2\modules.
It is strange because axis2c\lib is in my PATH variable and I can
run axis2_http_server with no problems.

Anyway.. it is working now:)

Dnia 09-07-2006 o 03:20:36 Samisa Abeysinghe <sa...@gmail.com>  
napisał:

> Paweł Pustelnik wrote:
>
>> RepoPath C:/Program Files/Apache Group/Apache2/axis2c/logs
>>
>>>
>>> Is this the correct location of your repository ? May be I am mislead  
>>> by
>>> the name of the folder
>>
>> I just typed this directory because I don't know what this repository   
>> means.
>
> Well, you have to give the folder containing the axis2.xml as the repo  
> path. The sub folders lib; services, modules should also be there on  
> this folder.
> Where have you extracted the binary distribution?
>
> Samisa...
>
>>
>>>>
>>>>     LogFile C:/Program Files/Apache  
>>>> Group/Apache2/axis2c/logs/axis2.log
>>>>     Axis2LogLevel AXIS2_LOG_LEVEL_CRITICAL
>>>> </Location>
>>>>
>>>> Pawel
>>>
>>>
>>> What does the axis2.log file say ?
>>
>> It is empty
>>
>>
>> Pawel
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>



-- 

Pawel Pustelnik
Control Engineer

-----------------------------------------------
  Future Processing Sp. z o.o.
  Tel: +48 604 084 653
  Tel/Fax: +48 32 2726202
  ppustelnik@future-processing.com
  www.future-processing.com
-----------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: [Axis2]Re: Binary data problems

Posted by Paweł Pustelnik <pp...@future-processing.com>.
Dnia 10-07-2006 o 10:15:40 Ajith Ranabahu <aj...@gmail.com>  
napisał:

> Hi,
> What is the version of maven you are using ? There are some know
> problems with maven beta releases and the known working version for us
> is 1.0.2 in both Windows and Linux.

I am using 1.0.2
I simply installed it and then typed maven in axis2 directory (there where
I downloaded the latest svn).

> Ajith
>
> On 7/10/06, Paweł Pustelnik <pp...@future-processing.com> wrote:
>> Dnia 09-07-2006 o 13:12:13 Samisa Abeysinghe  
>> <sa...@gmail.com>
>> napisał:
>>
>> > Paweł Pustelnik wrote:
>> >
>> >> Hi,
>> >>
>> >> I also would like to ask about generating C code for the service.
>> >> It can be done this way:
>> >>
>> >> java WSDL2Code
>> >>  
>> -Dorg.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.properties
>> >> -uri test.wsdl -ss -sd -d none
>> >>
>> >> However I can only generate java code this way:
>> >>
>> >> java WSDL2Code -uri test.wsdl -ss -sd -d none
>> >>
>> >> The problem is that
>> >>  
>> -Dorg.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.properties
>> >> is not recognized
>> >> as the option. What can be wrong?
>> >
>> > Are you using the Java code from the latest svn? Axis2/Java 1.0 did  
>> not
>> > include this feature as far as I know, so you have to build the code
>> > from svn.
>>
>> I followed instructions and finally ran maven to build the code from  
>> svn.
>> However I can not build because maven can not download this file:
>>
>> maven-itest-plugin-1.0.jar
>>
>> > Samisa...
>> >
>> >>
>> >> Thanks,
>> >> Pawel
>> >>
>> >> Dnia 09-07-2006 o 03:20:36 Samisa Abeysinghe
>> >> <sa...@gmail.com>  napisał:
>> >>
>> >>> Paweł Pustelnik wrote:
>> >>>
>> >>>> RepoPath C:/Program Files/Apache Group/Apache2/axis2c/logs
>> >>>>
>> >>>>>
>> >>>>> Is this the correct location of your repository ? May be I am
>> >>>>> mislead  by
>> >>>>> the name of the folder
>> >>>>
>> >>>>
>> >>>> I just typed this directory because I don't know what this
>> >>>> repository   means.
>> >>>
>> >>>
>> >>> Well, you have to give the folder containing the axis2.xml as the
>> >>> repo  path. The sub folders lib; services, modules should also be
>> >>> there on  this folder.
>> >>> Where have you extracted the binary distribution?
>> >>>
>> >>> Samisa...
>> >>
>> >>
>> >>
>> >>>>
>> >>>>>>
>> >>>>>>     LogFile C:/Program Files/Apache
>> >>>>>> Group/Apache2/axis2c/logs/axis2.log
>> >>>>>>     Axis2LogLevel AXIS2_LOG_LEVEL_CRITICAL
>> >>>>>> </Location>
>> >>>>>>
>> >>>>>> Pawel
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>> What does the axis2.log file say ?
>> >>>>
>> >>>>
>> >>>> It is empty
>> >>>>
>> >>>>
>> >>>> Pawel
>> >>>>
>> >>>>
>> >>>
>> >>>
>> >>>  
>> ---------------------------------------------------------------------
>> >>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>> >>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>> >>>
>> >>>
>> >>
>> >>
>> >>
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>> > For additional commands, e-mail: axis-c-user-help@ws.apache.org
>> >
>> >
>>
>>
>>
>> --
>>
>> Pawel Pustelnik
>> Control Engineer
>>
>> -----------------------------------------------
>>   Future Processing Sp. z o.o.
>>   Tel: +48 604 084 653
>>   Tel/Fax: +48 32 2726202
>>   ppustelnik@future-processing.com
>>   www.future-processing.com
>> -----------------------------------------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>
>>
>
>



-- 

Pawel Pustelnik
Control Engineer

-----------------------------------------------
  Future Processing Sp. z o.o.
  Tel: +48 604 084 653
  Tel/Fax: +48 32 2726202
  ppustelnik@future-processing.com
  www.future-processing.com
-----------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: [Axis2]Re: Binary data problems

Posted by Ajith Ranabahu <aj...@gmail.com>.
Hi Pawel,
Yes you can download the nightly builds here [1]. but the nightlies
seem to have a build problem that does not copy a relevant jar into
the libs folder of the std/min distributions. So you might have to
copy the adb-codegen-xxx.jar from the war distribution to the standard
distribution if it is still missing.

Ajith
[1] http://people.apache.org/dist/axis2/nightly/


On 7/10/06, Paweł Pustelnik <pp...@future-processing.com> wrote:
> Is it possible to download already built version for the current svn?
> As I can not build it using maven now, maybe I can save my time
> using already built one?
>
> Pawel
>
> Dnia 10-07-2006 o 10:15:40 Ajith Ranabahu <aj...@gmail.com>
> napisał:
>
> > Hi,
> > What is the version of maven you are using ? There are some know
> > problems with maven beta releases and the known working version for us
> > is 1.0.2 in both Windows and Linux.
> >
> > Ajith
> >
> > On 7/10/06, Paweł Pustelnik <pp...@future-processing.com> wrote:
> >> Dnia 09-07-2006 o 13:12:13 Samisa Abeysinghe
> >> <sa...@gmail.com>
> >> napisał:
> >>
> >> > Paweł Pustelnik wrote:
> >> >
> >> >> Hi,
> >> >>
> >> >> I also would like to ask about generating C code for the service.
> >> >> It can be done this way:
> >> >>
> >> >> java WSDL2Code
> >> >>
> >> -Dorg.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.properties
> >> >> -uri test.wsdl -ss -sd -d none
> >> >>
> >> >> However I can only generate java code this way:
> >> >>
> >> >> java WSDL2Code -uri test.wsdl -ss -sd -d none
> >> >>
> >> >> The problem is that
> >> >>
> >> -Dorg.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.properties
> >> >> is not recognized
> >> >> as the option. What can be wrong?
> >> >
> >> > Are you using the Java code from the latest svn? Axis2/Java 1.0 did
> >> not
> >> > include this feature as far as I know, so you have to build the code
> >> > from svn.
> >>
> >> I followed instructions and finally ran maven to build the code from
> >> svn.
> >> However I can not build because maven can not download this file:
> >>
> >> maven-itest-plugin-1.0.jar
> >>
> >> > Samisa...
> >> >
> >> >>
> >> >> Thanks,
> >> >> Pawel
> >> >>
> >> >> Dnia 09-07-2006 o 03:20:36 Samisa Abeysinghe
> >> >> <sa...@gmail.com>  napisał:
> >> >>
> >> >>> Paweł Pustelnik wrote:
> >> >>>
> >> >>>> RepoPath C:/Program Files/Apache Group/Apache2/axis2c/logs
> >> >>>>
> >> >>>>>
> >> >>>>> Is this the correct location of your repository ? May be I am
> >> >>>>> mislead  by
> >> >>>>> the name of the folder
> >> >>>>
> >> >>>>
> >> >>>> I just typed this directory because I don't know what this
> >> >>>> repository   means.
> >> >>>
> >> >>>
> >> >>> Well, you have to give the folder containing the axis2.xml as the
> >> >>> repo  path. The sub folders lib; services, modules should also be
> >> >>> there on  this folder.
> >> >>> Where have you extracted the binary distribution?
> >> >>>
> >> >>> Samisa...
> >> >>
> >> >>
> >> >>
> >> >>>>
> >> >>>>>>
> >> >>>>>>     LogFile C:/Program Files/Apache
> >> >>>>>> Group/Apache2/axis2c/logs/axis2.log
> >> >>>>>>     Axis2LogLevel AXIS2_LOG_LEVEL_CRITICAL
> >> >>>>>> </Location>
> >> >>>>>>
> >> >>>>>> Pawel
> >> >>>>>
> >> >>>>>
> >> >>>>>
> >> >>>>> What does the axis2.log file say ?
> >> >>>>
> >> >>>>
> >> >>>> It is empty
> >> >>>>
> >> >>>>
> >> >>>> Pawel
> >> >>>>
> >> >>>>
> >> >>>
> >> >>>
> >> >>>
> >> ---------------------------------------------------------------------
> >> >>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> >> >>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >> >>>
> >> >>>
> >> >>
> >> >>
> >> >>
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> >> > For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >>
> >> Pawel Pustelnik
> >> Control Engineer
> >>
> >> -----------------------------------------------
> >>   Future Processing Sp. z o.o.
> >>   Tel: +48 604 084 653
> >>   Tel/Fax: +48 32 2726202
> >>   ppustelnik@future-processing.com
> >>   www.future-processing.com
> >> -----------------------------------------------
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >>
> >>
> >
> >
>
>
>
> --
>
> Pawel Pustelnik
> Control Engineer
>
> -----------------------------------------------
>   Future Processing Sp. z o.o.
>   Tel: +48 604 084 653
>   Tel/Fax: +48 32 2726202
>   ppustelnik@future-processing.com
>   www.future-processing.com
> -----------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>


-- 
Ajith Ranabahu

Re: [Axis2]Re: Binary data problems

Posted by Paweł Pustelnik <pp...@future-processing.com>.
Is it possible to download already built version for the current svn?
As I can not build it using maven now, maybe I can save my time
using already built one?

Pawel

Dnia 10-07-2006 o 10:15:40 Ajith Ranabahu <aj...@gmail.com>  
napisał:

> Hi,
> What is the version of maven you are using ? There are some know
> problems with maven beta releases and the known working version for us
> is 1.0.2 in both Windows and Linux.
>
> Ajith
>
> On 7/10/06, Paweł Pustelnik <pp...@future-processing.com> wrote:
>> Dnia 09-07-2006 o 13:12:13 Samisa Abeysinghe  
>> <sa...@gmail.com>
>> napisał:
>>
>> > Paweł Pustelnik wrote:
>> >
>> >> Hi,
>> >>
>> >> I also would like to ask about generating C code for the service.
>> >> It can be done this way:
>> >>
>> >> java WSDL2Code
>> >>  
>> -Dorg.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.properties
>> >> -uri test.wsdl -ss -sd -d none
>> >>
>> >> However I can only generate java code this way:
>> >>
>> >> java WSDL2Code -uri test.wsdl -ss -sd -d none
>> >>
>> >> The problem is that
>> >>  
>> -Dorg.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.properties
>> >> is not recognized
>> >> as the option. What can be wrong?
>> >
>> > Are you using the Java code from the latest svn? Axis2/Java 1.0 did  
>> not
>> > include this feature as far as I know, so you have to build the code
>> > from svn.
>>
>> I followed instructions and finally ran maven to build the code from  
>> svn.
>> However I can not build because maven can not download this file:
>>
>> maven-itest-plugin-1.0.jar
>>
>> > Samisa...
>> >
>> >>
>> >> Thanks,
>> >> Pawel
>> >>
>> >> Dnia 09-07-2006 o 03:20:36 Samisa Abeysinghe
>> >> <sa...@gmail.com>  napisał:
>> >>
>> >>> Paweł Pustelnik wrote:
>> >>>
>> >>>> RepoPath C:/Program Files/Apache Group/Apache2/axis2c/logs
>> >>>>
>> >>>>>
>> >>>>> Is this the correct location of your repository ? May be I am
>> >>>>> mislead  by
>> >>>>> the name of the folder
>> >>>>
>> >>>>
>> >>>> I just typed this directory because I don't know what this
>> >>>> repository   means.
>> >>>
>> >>>
>> >>> Well, you have to give the folder containing the axis2.xml as the
>> >>> repo  path. The sub folders lib; services, modules should also be
>> >>> there on  this folder.
>> >>> Where have you extracted the binary distribution?
>> >>>
>> >>> Samisa...
>> >>
>> >>
>> >>
>> >>>>
>> >>>>>>
>> >>>>>>     LogFile C:/Program Files/Apache
>> >>>>>> Group/Apache2/axis2c/logs/axis2.log
>> >>>>>>     Axis2LogLevel AXIS2_LOG_LEVEL_CRITICAL
>> >>>>>> </Location>
>> >>>>>>
>> >>>>>> Pawel
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>> What does the axis2.log file say ?
>> >>>>
>> >>>>
>> >>>> It is empty
>> >>>>
>> >>>>
>> >>>> Pawel
>> >>>>
>> >>>>
>> >>>
>> >>>
>> >>>  
>> ---------------------------------------------------------------------
>> >>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>> >>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>> >>>
>> >>>
>> >>
>> >>
>> >>
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>> > For additional commands, e-mail: axis-c-user-help@ws.apache.org
>> >
>> >
>>
>>
>>
>> --
>>
>> Pawel Pustelnik
>> Control Engineer
>>
>> -----------------------------------------------
>>   Future Processing Sp. z o.o.
>>   Tel: +48 604 084 653
>>   Tel/Fax: +48 32 2726202
>>   ppustelnik@future-processing.com
>>   www.future-processing.com
>> -----------------------------------------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>
>>
>
>



-- 

Pawel Pustelnik
Control Engineer

-----------------------------------------------
  Future Processing Sp. z o.o.
  Tel: +48 604 084 653
  Tel/Fax: +48 32 2726202
  ppustelnik@future-processing.com
  www.future-processing.com
-----------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: [Axis2]Re: Binary data problems

Posted by Ajith Ranabahu <aj...@gmail.com>.
Hi,
What is the version of maven you are using ? There are some know
problems with maven beta releases and the known working version for us
is 1.0.2 in both Windows and Linux.

Ajith

On 7/10/06, Paweł Pustelnik <pp...@future-processing.com> wrote:
> Dnia 09-07-2006 o 13:12:13 Samisa Abeysinghe <sa...@gmail.com>
> napisał:
>
> > Paweł Pustelnik wrote:
> >
> >> Hi,
> >>
> >> I also would like to ask about generating C code for the service.
> >> It can be done this way:
> >>
> >> java WSDL2Code
> >> -Dorg.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.properties
> >> -uri test.wsdl -ss -sd -d none
> >>
> >> However I can only generate java code this way:
> >>
> >> java WSDL2Code -uri test.wsdl -ss -sd -d none
> >>
> >> The problem is that
> >> -Dorg.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.properties
> >> is not recognized
> >> as the option. What can be wrong?
> >
> > Are you using the Java code from the latest svn? Axis2/Java 1.0 did not
> > include this feature as far as I know, so you have to build the code
> > from svn.
>
> I followed instructions and finally ran maven to build the code from svn.
> However I can not build because maven can not download this file:
>
> maven-itest-plugin-1.0.jar
>
> > Samisa...
> >
> >>
> >> Thanks,
> >> Pawel
> >>
> >> Dnia 09-07-2006 o 03:20:36 Samisa Abeysinghe
> >> <sa...@gmail.com>  napisał:
> >>
> >>> Paweł Pustelnik wrote:
> >>>
> >>>> RepoPath C:/Program Files/Apache Group/Apache2/axis2c/logs
> >>>>
> >>>>>
> >>>>> Is this the correct location of your repository ? May be I am
> >>>>> mislead  by
> >>>>> the name of the folder
> >>>>
> >>>>
> >>>> I just typed this directory because I don't know what this
> >>>> repository   means.
> >>>
> >>>
> >>> Well, you have to give the folder containing the axis2.xml as the
> >>> repo  path. The sub folders lib; services, modules should also be
> >>> there on  this folder.
> >>> Where have you extracted the binary distribution?
> >>>
> >>> Samisa...
> >>
> >>
> >>
> >>>>
> >>>>>>
> >>>>>>     LogFile C:/Program Files/Apache
> >>>>>> Group/Apache2/axis2c/logs/axis2.log
> >>>>>>     Axis2LogLevel AXIS2_LOG_LEVEL_CRITICAL
> >>>>>> </Location>
> >>>>>>
> >>>>>> Pawel
> >>>>>
> >>>>>
> >>>>>
> >>>>> What does the axis2.log file say ?
> >>>>
> >>>>
> >>>> It is empty
> >>>>
> >>>>
> >>>> Pawel
> >>>>
> >>>>
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> >>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >>>
> >>>
> >>
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >
> >
>
>
>
> --
>
> Pawel Pustelnik
> Control Engineer
>
> -----------------------------------------------
>   Future Processing Sp. z o.o.
>   Tel: +48 604 084 653
>   Tel/Fax: +48 32 2726202
>   ppustelnik@future-processing.com
>   www.future-processing.com
> -----------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>


-- 
Ajith Ranabahu

Re: [Axis2]Re: Binary data problems

Posted by Paweł Pustelnik <pp...@future-processing.com>.
Dnia 09-07-2006 o 13:12:13 Samisa Abeysinghe <sa...@gmail.com>  
napisał:

> Paweł Pustelnik wrote:
>
>> Hi,
>>
>> I also would like to ask about generating C code for the service.
>> It can be done this way:
>>
>> java WSDL2Code   
>> -Dorg.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.properties   
>> -uri test.wsdl -ss -sd -d none
>>
>> However I can only generate java code this way:
>>
>> java WSDL2Code -uri test.wsdl -ss -sd -d none
>>
>> The problem is that   
>> -Dorg.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.properties   
>> is not recognized
>> as the option. What can be wrong?
>
> Are you using the Java code from the latest svn? Axis2/Java 1.0 did not  
> include this feature as far as I know, so you have to build the code  
> from svn.

I followed instructions and finally ran maven to build the code from svn.
However I can not build because maven can not download this file:

maven-itest-plugin-1.0.jar

> Samisa...
>
>>
>> Thanks,
>> Pawel
>>
>> Dnia 09-07-2006 o 03:20:36 Samisa Abeysinghe  
>> <sa...@gmail.com>  napisał:
>>
>>> Paweł Pustelnik wrote:
>>>
>>>> RepoPath C:/Program Files/Apache Group/Apache2/axis2c/logs
>>>>
>>>>>
>>>>> Is this the correct location of your repository ? May be I am  
>>>>> mislead  by
>>>>> the name of the folder
>>>>
>>>>
>>>> I just typed this directory because I don't know what this  
>>>> repository   means.
>>>
>>>
>>> Well, you have to give the folder containing the axis2.xml as the  
>>> repo  path. The sub folders lib; services, modules should also be  
>>> there on  this folder.
>>> Where have you extracted the binary distribution?
>>>
>>> Samisa...
>>
>>
>>
>>>>
>>>>>>
>>>>>>     LogFile C:/Program Files/Apache   
>>>>>> Group/Apache2/axis2c/logs/axis2.log
>>>>>>     Axis2LogLevel AXIS2_LOG_LEVEL_CRITICAL
>>>>>> </Location>
>>>>>>
>>>>>> Pawel
>>>>>
>>>>>
>>>>>
>>>>> What does the axis2.log file say ?
>>>>
>>>>
>>>> It is empty
>>>>
>>>>
>>>> Pawel
>>>>
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>>
>>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>



-- 

Pawel Pustelnik
Control Engineer

-----------------------------------------------
  Future Processing Sp. z o.o.
  Tel: +48 604 084 653
  Tel/Fax: +48 32 2726202
  ppustelnik@future-processing.com
  www.future-processing.com
-----------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: [Axis2]Re: Binary data problems

Posted by Ajith Ranabahu <aj...@gmail.com>.
Hi,
You'll have to use the latest SVN code to make this work. AFAIR this
feature was added later.
However if you are using either the bat file or the shell script then
you cannot pass the VM argument (starting with -D) like that. You'll
have to edit the script and add it to the scipt inside since the
script is designed only to take in program parameters.
if you are not using the shell/batch scripts then put the VM argument
*before* the class name.
And also you'll have to have the -l c option (-l is for language) to
tell the code generator that you expect C output.

HTH
Ajith

On 7/9/06, Samisa Abeysinghe <sa...@gmail.com> wrote:
> Paweł Pustelnik wrote:
>
> > Hi,
> >
> > I also would like to ask about generating C code for the service.
> > It can be done this way:
> >
> > java WSDL2Code
> > -Dorg.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.properties
> > -uri test.wsdl -ss -sd -d none
> >
> > However I can only generate java code this way:
> >
> > java WSDL2Code -uri test.wsdl -ss -sd -d none
> >
> > The problem is that
> > -Dorg.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.properties
> > is not recognized
> > as the option. What can be wrong?
>
> Are you using the Java code from the latest svn? Axis2/Java 1.0 did not
> include this feature as far as I know, so you have to build the code
> from svn.
>
> Samisa...
>
> >
> > Thanks,
> > Pawel
> >
> > Dnia 09-07-2006 o 03:20:36 Samisa Abeysinghe
> > <sa...@gmail.com>  napisał:
> >
> >> Paweł Pustelnik wrote:
> >>
> >>> RepoPath C:/Program Files/Apache Group/Apache2/axis2c/logs
> >>>
> >>>>
> >>>> Is this the correct location of your repository ? May be I am
> >>>> mislead  by
> >>>> the name of the folder
> >>>
> >>>
> >>> I just typed this directory because I don't know what this
> >>> repository   means.
> >>
> >>
> >> Well, you have to give the folder containing the axis2.xml as the
> >> repo  path. The sub folders lib; services, modules should also be
> >> there on  this folder.
> >> Where have you extracted the binary distribution?
> >>
> >> Samisa...
> >
> >
> >
> >>>
> >>>>>
> >>>>>     LogFile C:/Program Files/Apache
> >>>>> Group/Apache2/axis2c/logs/axis2.log
> >>>>>     Axis2LogLevel AXIS2_LOG_LEVEL_CRITICAL
> >>>>> </Location>
> >>>>>
> >>>>> Pawel
> >>>>
> >>>>
> >>>>
> >>>> What does the axis2.log file say ?
> >>>
> >>>
> >>> It is empty
> >>>
> >>>
> >>> Pawel
> >>>
> >>>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >>
> >>
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>


-- 
Ajith Ranabahu

Re: [Axis2]Re: Binary data problems

Posted by Samisa Abeysinghe <sa...@gmail.com>.
Paweł Pustelnik wrote:

> Hi,
>
> I also would like to ask about generating C code for the service.
> It can be done this way:
>
> java WSDL2Code  
> -Dorg.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.properties  
> -uri test.wsdl -ss -sd -d none
>
> However I can only generate java code this way:
>
> java WSDL2Code -uri test.wsdl -ss -sd -d none
>
> The problem is that  
> -Dorg.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.properties  
> is not recognized
> as the option. What can be wrong?

Are you using the Java code from the latest svn? Axis2/Java 1.0 did not 
include this feature as far as I know, so you have to build the code 
from svn.

Samisa...

>
> Thanks,
> Pawel
>
> Dnia 09-07-2006 o 03:20:36 Samisa Abeysinghe 
> <sa...@gmail.com>  napisał:
>
>> Paweł Pustelnik wrote:
>>
>>> RepoPath C:/Program Files/Apache Group/Apache2/axis2c/logs
>>>
>>>>
>>>> Is this the correct location of your repository ? May be I am 
>>>> mislead  by
>>>> the name of the folder
>>>
>>>
>>> I just typed this directory because I don't know what this 
>>> repository   means.
>>
>>
>> Well, you have to give the folder containing the axis2.xml as the 
>> repo  path. The sub folders lib; services, modules should also be 
>> there on  this folder.
>> Where have you extracted the binary distribution?
>>
>> Samisa...
>
>
>
>>>
>>>>>
>>>>>     LogFile C:/Program Files/Apache  
>>>>> Group/Apache2/axis2c/logs/axis2.log
>>>>>     Axis2LogLevel AXIS2_LOG_LEVEL_CRITICAL
>>>>> </Location>
>>>>>
>>>>> Pawel
>>>>
>>>>
>>>>
>>>> What does the axis2.log file say ?
>>>
>>>
>>> It is empty
>>>
>>>
>>> Pawel
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>
>>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: [Axis2]Re: Binary data problems

Posted by Paweł Pustelnik <pp...@future-processing.com>.
Hi,

I also would like to ask about generating C code for the service.
It can be done this way:

java WSDL2Code  
-Dorg.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.properties  
-uri test.wsdl -ss -sd -d none

However I can only generate java code this way:

java WSDL2Code -uri test.wsdl -ss -sd -d none

The problem is that  
-Dorg.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.properties  
is not recognized
as the option. What can be wrong?

Thanks,
Pawel

Dnia 09-07-2006 o 03:20:36 Samisa Abeysinghe <sa...@gmail.com>  
napisał:

> Paweł Pustelnik wrote:
>
>> RepoPath C:/Program Files/Apache Group/Apache2/axis2c/logs
>>
>>>
>>> Is this the correct location of your repository ? May be I am mislead  
>>> by
>>> the name of the folder
>>
>> I just typed this directory because I don't know what this repository   
>> means.
>
> Well, you have to give the folder containing the axis2.xml as the repo  
> path. The sub folders lib; services, modules should also be there on  
> this folder.
> Where have you extracted the binary distribution?
>
> Samisa...


>>
>>>>
>>>>     LogFile C:/Program Files/Apache  
>>>> Group/Apache2/axis2c/logs/axis2.log
>>>>     Axis2LogLevel AXIS2_LOG_LEVEL_CRITICAL
>>>> </Location>
>>>>
>>>> Pawel
>>>
>>>
>>> What does the axis2.log file say ?
>>
>> It is empty
>>
>>
>> Pawel
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>



-- 

Pawel Pustelnik
Control Engineer

-----------------------------------------------
  Future Processing Sp. z o.o.
  Tel: +48 604 084 653
  Tel/Fax: +48 32 2726202
  ppustelnik@future-processing.com
  www.future-processing.com
-----------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: [Axis2]Re: Binary data problems

Posted by Samisa Abeysinghe <sa...@gmail.com>.
Paweł Pustelnik wrote:

> RepoPath C:/Program Files/Apache Group/Apache2/axis2c/logs
>
>>
>> Is this the correct location of your repository ? May be I am mislead by
>> the name of the folder
>
> I just typed this directory because I don't know what this repository  
> means.

Well, you have to give the folder containing the axis2.xml as the repo 
path. The sub folders lib; services, modules should also be there on 
this folder.
Where have you extracted the binary distribution?

Samisa...

>
>>>
>>>     LogFile C:/Program Files/Apache Group/Apache2/axis2c/logs/axis2.log
>>>     Axis2LogLevel AXIS2_LOG_LEVEL_CRITICAL
>>> </Location>
>>>
>>> Pawel
>>
>>
>> What does the axis2.log file say ?
>
> It is empty
>
>
> Pawel
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: [Axis2]Re: Binary data problems

Posted by Paweł Pustelnik <pp...@future-processing.com>.
RepoPath C:/Program Files/Apache Group/Apache2/axis2c/logs
>
> Is this the correct location of your repository ? May be I am mislead by
> the name of the folder
I just typed this directory because I don't know what this repository  
means.

>>
>>     LogFile C:/Program Files/Apache Group/Apache2/axis2c/logs/axis2.log
>>     Axis2LogLevel AXIS2_LOG_LEVEL_CRITICAL
>> </Location>
>>
>> Pawel
>
> What does the axis2.log file say ?
It is empty


Pawel


-- 

Pawel Pustelnik
Control Engineer

-----------------------------------------------
  Future Processing Sp. z o.o.
  Tel: +48 604 084 653
  Tel/Fax: +48 32 2726202
  ppustelnik@future-processing.com
  www.future-processing.com
-----------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org