Large Size files

2007-06-12 Thread Chris Shah
Hello, 
   
  I am writing a WS specification for my service . What is the best way to 
expose zipped text files of size around 200 MB ( not more )  through this 
service ?
   
  Thanks
  Chris 

   
-
Boardwalk for $500? In 2007? Ha! 
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.

Re: Large Size files

2007-06-13 Thread Chris Shah
I could successfully run the sample MTOM code in AXIS 2 installation to upload 
large file ~ 200 MB.
  What should I do to be able to download it from the service. Is there a 
sample wsdl I cna look at somewhere ? 
   
  Any pointers ?
   
  thx
  Chris 

Paul Fremantle <[EMAIL PROTECTED]> wrote:
  Chris

You should use the MTOM capability of Axis2. AFAIK Axis1 cannot cope
with 200Mb files.

The Axis2 design allows streaming of large files.
See this guide:
http://ws.apache.org/axis2/1_2/mtom-guide.html

Paul

On 6/13/07, Chris Shah wrote:
> Hello,
>
> I am writing a WS specification for my service . What is the best way to
> expose zipped text files of size around 200 MB ( not more ) through this
> service ?
>
> Thanks
> Chris
>
> 
> Boardwalk for $500? In 2007? Ha!
> Play Monopoly Here and Now (it's updated for today's economy) at Yahoo!
> Games.
>
>


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

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

"Oxygenating the Web Service Platform", www.wso2.com

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



 
-
Don't get soaked.  Take a quick peak at the forecast 
 with theYahoo! Search weather shortcut.

Re: Large Size files

2007-06-14 Thread Chris Shah
I tried returning a response object consisting of  an "xsd:string" and 
"xmime:base64Binary". 
  basically just switched the request and response object types in the sample. 
Then I implemented the client and service code accordingly, and set enableMTOM 
in axis2.xml t true. 
   
  I can download small files using the client. Large files give me the error 
below. 
   
  Is it necessary to return an OMElement or a byte[]? Why will a base64Binary 
object not work? Why does it work then while uploading to the service and not 
while downloading ?
   
  Thanks for your help
  Chris

   
   
  Exception in thread "HttpConnection-8080-1" java.lang.IllegalStateException: 
Response already committed
at 
org.apache.axis2.transport.http.server.AxisHttpResponseImpl.assertNotCommitted(AxisHttpResponseImpl.
at 
org.apache.axis2.transport.http.server.AxisHttpResponseImpl.sendError(AxisHttpResponseImpl.java:120)
at 
org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpService.java:297)
at 
org.apache.axis2.transport.http.server.AxisHttpService.handleRequest(AxisHttpService.java:184)
at 
org.apache.axis2.transport.http.server.HttpServiceProcessor.run(HttpServiceProcessor.java:74)
at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.
at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
at java.lang.Thread.run(Thread.java:595)
   
  

Paul Fremantle <[EMAIL PROTECTED]> wrote:
  Chris

Simply define a service that returns an OMElement (like the sample) or a byte[]
It works in exactly the same way.

Paul

On 6/14/07, Chris Shah wrote:
> I could successfully run the sample MTOM code in AXIS 2 installation to
> upload large file ~ 200 MB.
> What should I do to be able to download it from the service. Is there a
> sample wsdl I cna look at somewhere ?
>
> Any pointers ?
>
> thx
> Chris
>
> Paul Fremantle 
wrote:
> Chris
>
> You should use the MTOM capability of Axis2. AFAIK Axis1 cannot cope
> with 200Mb files.
>
> The Axis2 design allows streaming of large files.
> See this guide:
> http://ws.apache.org/axis2/1_2/mtom-guide.html
>
> Paul
>
> On 6/13/07, Chris Shah wrote:
> > Hello,
> >
> > I am writing a WS specification for my service . What is the best way to
> > expose zipped text files of size around 200 MB ( not more ) through this
> > service ?
> >
> > Thanks
> > Chris
> >
> > 
> > Boardwalk for $500? In 2007? Ha!
> > Play Monopoly Here and Now (it's updated for today's economy) at Yahoo!
> > Games.
> >
> >
>
>
> --
> Paul Fremantle
> Co-Founder and VP of Technical Sales, WSO2
> OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> [EMAIL PROTECTED]
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> 
> Don't get soaked. Take a quick peak at the forecast
> with theYahoo! Search weather shortcut.
>
>


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

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

"Oxygenating the Web Service Platform", www.wso2.com

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



   
-
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us.

Re: Large Size files

2007-06-14 Thread Chris Shah
I tried returning a response object consisting of  an "xsd:string" and 
"xmime:base64Binary". 
  basically just switched the request and response object types in the sample. 
Then I implemented the client and service code accordingly, and set enableMTOM 
in axis2.xml t true. 
   
  I can download small files using the client. Large files give me the error 
below. 
   
  Is it necessary to return an OMElement or a byte[]? Why will a base64Binary 
object not work? Why does it work then while uploading to the service and not 
while downloading ?
   
  Thanks for your help
  Chris

   
   
  Exception in thread "HttpConnection-8080-1" java.lang.IllegalStateException: 
Response already committed
at 
org.apache.axis2.transport.http.server.AxisHttpResponseImpl.assertNotCommitted(AxisHttpResponseImpl.
at 
org.apache.axis2.transport.http.server.AxisHttpResponseImpl.sendError(AxisHttpResponseImpl.java:120)
at 
org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpService.java:297)
at 
org.apache.axis2.transport.http.server.AxisHttpService.handleRequest(AxisHttpService.java:184)
at 
org.apache.axis2.transport.http.server.HttpServiceProcessor.run(HttpServiceProcessor.java:74)
at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.
at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
at java.lang.Thread.run(Thread.java:595)
   
  

Paul Fremantle <[EMAIL PROTECTED]> wrote:
  Chris

Simply define a service that returns an OMElement (like the sample) or a byte[]
It works in exactly the same way.

Paul

On 6/14/07, Chris Shah wrote:
> I could successfully run the sample MTOM code in AXIS 2 installation to
> upload large file ~ 200 MB.
> What should I do to be able to download it from the service. Is there a
> sample wsdl I cna look at somewhere ?
>
> Any pointers ?
>
> thx
> Chris
>
> Paul Fremantle 
wrote:
> Chris
>
> You should use the MTOM capability of Axis2. AFAIK Axis1 cannot cope
> with 200Mb files.
>
> The Axis2 design allows streaming of large files.
> See this guide:
> http://ws.apache.org/axis2/1_2/mtom-guide.html
>
> Paul
>
> On 6/13/07, Chris Shah wrote:
> > Hello,
> >
> > I am writing a WS specification for my service . What is the best way to
> > expose zipped text files of size around 200 MB ( not more ) through this
> > service ?
> >
> > Thanks
> > Chris
> >
> > 
> > Boardwalk for $500? In 2007? Ha!
> > Play Monopoly Here and Now (it's updated for today's economy) at Yahoo!
> > Games.
> >
> >
>
>
> --
> Paul Fremantle
> Co-Founder and VP of Technical Sales, WSO2
> OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> [EMAIL PROTECTED]
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> 
> Don't get soaked. Take a quick peak at the forecast
> with theYahoo! Search weather shortcut.
>
>


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

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

"Oxygenating the Web Service Platform", www.wso2.com

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



 
-
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.

Re: Large Size files

2007-06-14 Thread Chris Shah
I can see the following on my client : 
   
  Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
   
  Does this mean that MTOM is really not enabled ? Otherwise why would client 
run out of space ?
   
  Thanks for your help
   
  Chris

Chris Shah <[EMAIL PROTECTED]> wrote:
I tried returning a response object consisting of  an "xsd:string" and 
"xmime:base64Binary". 
  basically just switched the request and response object types in the sample. 
Then I implemented the client and service code accordingly, and set enableMTOM 
in axis2.xml t true. 
   
  I can download small files using the client. Large files give me the error 
below. 
   
  Is it necessary to return an OMElement or a byte[]? Why will a base64Binary 
object not work? Why does it work then while uploading to the service and not 
while downloading ?
   
  Thanks for your help
  Chris

   
   
  Exception in thread "HttpConnection-8080-1" java.lang.IllegalStateException: 
Response already committed
at 
org.apache.axis2.transport.http.server.AxisHttpResponseImpl.assertNotCommitted(AxisHttpResponseImpl.
at 
org.apache.axis2.transport.http.server.AxisHttpResponseImpl.sendError(AxisHttpResponseImpl.java:120)
at 
org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpService.java:297)
at 
org.apache.axis2.transport.http.server.AxisHttpService.handleRequest(AxisHttpService.java:184)
at 
org.apache.axis2.transport.http.server.HttpServiceProcessor.run(HttpServiceProcessor.java:74)
at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.
at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
at java.lang.Thread.run(Thread.java:595)
   
  

Paul Fremantle <[EMAIL PROTECTED]> wrote:
  Chris

Simply define a service that returns an OMElement (like the sample) or a byte[]
It works in exactly the same way.

Paul

On 6/14/07, Chris Shah wrote:
> I could successfully run the sample MTOM code in AXIS 2 installation to
> upload large file ~ 200 MB.
> What should I do to be able to download it from the service. Is there a
> sample wsdl I cna look at somewhere ?
>
> Any pointers ?
>
> thx
> Chris
>
> Paul Fremantle 
wrote:
> Chris
>
> You should use the MTOM capability of Axis2. AFAIK Axis1 cannot cope
> with 200Mb files.
>
> The Axis2 design allows streaming of large files.
> See this guide:
> http://ws.apache.org/axis2/1_2/mtom-guide.html
>
> Paul
>
> On 6/13/07, Chris Shah wrote:
> > Hello,
> >
> > I am writing a WS specification for my service . What is the best way to
> > expose zipped text files of size around 200 MB ( not more ) through this
> > service ?
> >
> > Thanks
> > Chris
> >
> > 
> > Boardwalk for $500? In 2007? Ha!
> > Play Monopoly Here and Now (it's updated for today's economy) at Yahoo!
> > Games.
> >
> >
>
>
> --
> Paul Fremantle
> Co-Founder and VP of Technical Sales, WSO2
> OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> [EMAIL PROTECTED]
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> 
> Don't get soaked. Take a quick peak at the forecast
> with theYahoo! Search weather shortcut.
>
>


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

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

"Oxygenating the Web Service Platform", www.wso2.com

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



-
  Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.

 
-
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.

Re: Large Size files

2007-06-15 Thread Chris Shah
Hi Paul, 
   
  Thanks for helping me through this.
  I am not caching the message ... I have 2 GB of RAM. Do I really have to use 
AXIOM OMElement? How can I ensure that MTOM is truely enabled ? I am able to 
upload small data but with large data, this is what I see now at the client end 
after tweaking the code some more :
  
 [java] Exception in thread "main" org.apache.axis2.AxisFault: unknown
 [java] at 
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:434)
 [java] at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:373)
 [java] at 
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
 [java] at 
sample.mtom.service.MTOMSampleMTOMSampleSOAP11Port_httpStub.attachment(Unknown 
Source)
 [java] at sample.mtom.client.Client.main(Unknown Source)
 [java] Java Result: 1

  Thanks tons
  Chris
Paul Fremantle <[EMAIL PROTECTED]> wrote:
  Chris

Are you following the code for caching the message? If you are pulling
it into a byte[] then it will still use 200Mb of memory.

Paul

On 6/14/07, Chris Shah wrote:
> I can see the following on my client :
>
> Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
>
> Does this mean that MTOM is really not enabled ? Otherwise why would client
> run out of space ?
>
> Thanks for your help
>
> Chris
>
> Chris Shah wrote:
>
>
> I tried returning a response object consisting of an "xsd:string" and
> "xmime:base64Binary".
> basically just switched the request and response object types in the sample.
> Then I implemented the client and service code accordingly, and set
> enableMTOM in axis2.xml t true.
>
> I can download small files using the client. Large files give me the error
> below.
>
> Is it necessary to return an OMElement or a byte[]? Why will a base64Binary
> object not work? Why does it work then while uploading to the service and
> not while downloading ?
>
> Thanks for your help
> Chris
>
>
>
> Exception in thread "HttpConnection-8080-1" java.lang.IllegalStateException:
> Response already committed
> at
> org.apache.axis2.transport.http.server.AxisHttpResponseImpl.assertNotCommitted(AxisHttpResponseImpl.
> at
> org.apache.axis2.transport.http.server.AxisHttpResponseImpl.sendError(AxisHttpResponseImpl.java:120)
> at
> org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpService.java:297)
> at
> org.apache.axis2.transport.http.server.AxisHttpService.handleRequest(AxisHttpService.java:184)
> at
> org.apache.axis2.transport.http.server.HttpServiceProcessor.run(HttpServiceProcessor.java:74)
> at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.
> at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
> at java.lang.Thread.run(Thread.java:595)
>
>
>
> Paul Fremantle 
wrote:
> Chris
>
> Simply define a service that returns an OMElement (like the sample) or a
> byte[]
> It works in exactly the same way.
>
> Paul
>
> On 6/14/07, Chris Shah wrote:
> > I could successfully run the sample MTOM code in AXIS 2 installation to
> > upload large file ~ 200 MB.
> > What should I do to be able to download it from the service. Is there a
> > sample wsdl I cna look at somewhere ?
> >
> > Any pointers ?
> >
> > thx
> > Chris
> >
> > Paul Fremantle wrote:
> > Chris
> >
> > You should use the MTOM capability of Axis2. AFAIK Axis1 cannot cope
> > with 200Mb files.
> >
> > The Axis2 design allows streaming of large files.
> > See this guide:
> > http://ws.apache.org/axis2/1_2/mtom-guide.html
> >
> > Paul
> >
> > On 6/13/07, Chris Shah wrote:
> > > Hello,
> > >
> > > I am writing a WS specification for my service . What is the best way to
> > > expose zipped text files of size around 200 MB ( not more ) through this
> > > service ?
> > >
> > > Thanks
> > > Chris
> > >
> > > 
> > > Boardwalk for $500? In 2007? Ha!
> > > Play Monopoly Here and Now (it's updated for today's economy) at Yahoo!
> > > Games.
> > >
> > >
> >
> >
> > --
> > Paul Fremantle
> > Co-Founder and VP of Technical Sales, WSO2
> > OASIS WS-RX TC Co-chair
> >
> > blog: http://pzf.fremantle.org
> > [EMAIL PROTECTED]
> >
> > "Oxygenating the Web Service Platform", www.wso2.com
> >
> >
> 

Re: Large Size files

2007-06-15 Thread Chris Shah
Caching at client side made everything work.
   
  Thanks again. 
  Chris

Chris Shah <[EMAIL PROTECTED]> wrote:
Hi Paul, 
   
  Thanks for helping me through this.
  I am not caching the message ... I have 2 GB of RAM. Do I really have to use 
AXIOM OMElement? How can I ensure that MTOM is truely enabled ? I am able to 
upload small data but with large data, this is what I see now at the client end 
after tweaking the code some more :
  
 [java] Exception in thread "main" org.apache.axis2.AxisFault: unknown
 [java] at 
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:434)
 [java] at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:373)
 [java] at 
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
 [java] at 
sample.mtom.service.MTOMSampleMTOMSampleSOAP11Port_httpStub.attachment(Unknown 
Source)
 [java] at sample.mtom.client.Client.main(Unknown Source)
 [java] Java Result: 1

  Thanks tons
  Chris
Paul Fremantle <[EMAIL PROTECTED]> wrote:
  Chris

Are you following the code for caching the message? If you are pulling
it into a byte[] then it will still use 200Mb of memory.

Paul

On 6/14/07, Chris Shah wrote:
> I can see the following on my client :
>
> Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
>
> Does this mean that MTOM is really not enabled ? Otherwise why would client
> run out of space ?
>
> Thanks for your help
>
> Chris
>
> Chris Shah wrote:
>
>
> I tried returning a response object consisting of an "xsd:string" and
> "xmime:base64Binary".
> basically just switched the request and response object types in the sample.
> Then I implemented the client and service code accordingly, and set
> enableMTOM in axis2.xml t true.
>
> I can download small files using the client. Large files give me the error
> below.
>
> Is it necessary to return an OMElement or a byte[]? Why will a base64Binary
> object not work? Why does it work then while uploading to the service and
> not while downloading ?
>
> Thanks for your help
> Chris
>
>
>
> Exception in thread "HttpConnection-8080-1" java.lang.IllegalStateException:
> Response already committed
> at
> org.apache.axis2.transport.http.server.AxisHttpResponseImpl.assertNotCommitted(AxisHttpResponseImpl.
> at
> org.apache.axis2.transport.http.server.AxisHttpResponseImpl.sendError(AxisHttpResponseImpl.java:120)
> at
> org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpService.java:297)
> at
> org.apache.axis2.transport.http.server.AxisHttpService.handleRequest(AxisHttpService.java:184)
> at
> org.apache.axis2.transport.http.server.HttpServiceProcessor.run(HttpServiceProcessor.java:74)
> at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.
> at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
> at java.lang.Thread.run(Thread.java:595)
>
>
>
> Paul Fremantle 
wrote:
> Chris
>
> Simply define a service that returns an OMElement (like the sample) or a
> byte[]
> It works in exactly the same way.
>
> Paul
>
> On 6/14/07, Chris Shah wrote:
> > I could successfully run the sample MTOM code in AXIS 2 installation to
> > upload large file ~ 200 MB.
> > What should I do to be able to download it from the service. Is there a
> > sample wsdl I cna look at somewhere ?
> >
> > Any pointers ?
> >
> > thx
> > Chris
> >
> > Paul Fremantle wrote:
> > Chris
> >
> > You should use the MTOM capability of Axis2. AFAIK Axis1 cannot cope
> > with 200Mb files.
> >
> > The Axis2 design allows streaming of large files.
> > See this guide:
> > http://ws.apache.org/axis2/1_2/mtom-guide.html
> >
> > Paul
> >
> > On 6/13/07, Chris Shah wrote:
> > > Hello,
> > >
> > > I am writing a WS specification for my service . What is the best way to
> > > expose zipped text files of size around 200 MB ( not more ) through this
> > > service ?
> > >
> > > Thanks
> > > Chris
> > >
> > > 
> > > Boardwalk for $500? In 2007? Ha!
> > > Play Monopoly Here and Now (it's updated for today's economy) at Yahoo!
> > > Games.
> > >
> > >
> >
> >
> > --
> > Paul Fremantle
> > Co-Founder and VP of Technical Sales, WSO2
> > OASIS WS-RX TC Co-chair
> >
> > blog: http://pzf.fremantle.org
> > [EMAIL PROTECTED]
>

AXIS 2 Service SOAPMonitor

2007-06-18 Thread Chris Shah
What is better to use to monitor the sample AXIS2 MTOM Service ? SOAPMonitor ot 
tcpmonitor. 
   
  I am struggling to install SOAPMonitor but am failing. I have unjarred the 
SOAPMonitor Applet classes here : 
   
  c:\axis2-1.2\webapp AND changed my web.xml and added 
  to axis2.xml. 
   
  But things do not work. ANy pointers ?
   
  Thanks
  Chris
   
   

   
-
Moody friends. Drama queens. Your life? Nope! - their life, your story.
 Play Sims Stories at Yahoo! Games. 

Re: AXIS 2 Service SOAPMonitor

2007-06-18 Thread Chris Shah
I was trying to figure out how to get it to work with the standalone server . 
But that does not work. I deployed the axis war to tomcat and could configure 
SOAPMonitor. I will configure the tcpmon now. 
   
  Chris

robert lazarski <[EMAIL PROTECTED]> wrote:
  Can you elaborate on 'things do not work' ?  Don't forget to edit web.xml 
also. 

Anyways, use tcpmon for mtom for now as the soapmonitor still doesn't do mime 
parts. 

HTH,
Robert 

  On 6/18/07, Chris Shah <[EMAIL PROTECTED]> wrote:What is better to use to 
monitor the sample AXIS2 MTOM Service ? SOAPMonitor ot tcpmonitor. 
   
  I am struggling to install SOAPMonitor but am failing. I have unjarred the 
SOAPMonitor Applet classes here : 
   
  c:\axis2-1.2\webapp AND changed my web.xml and added 
  to axis2.xml. 
   
  But things do not work. ANy pointers ?
   
  Thanks
  Chris
   
   
  
  
-
  Moody friends. Drama queens. Your life? Nope! - their life, your story.
Play Sims Stories at Yahoo! Games.   




   
-
Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. 

Re: "Regarding packaging AAR file"

2007-06-19 Thread Chris Shah
If I understand your problem correctly, you can provide the -p option to 
generate your classes in whatever directory structure you wish while running 
wsdl2java. 
   
  Chris

renjith kalappurackal <[EMAIL PROTECTED]> wrote:
Hi All,
   
 I am newbie to Axis2. I am facing a problem . And I searched a 
lot to find the solution for the same. I am writing a Webservice so as to 
integrate a ERP product with System.For integrating they are giving a sample 
WSDL. And I could able to integrate with that ERP product  by modyfying the 
WSDL to our need. 
  The problem now I am facing is regarding packaging the AAR 
file. "Since the webservices which I wrote is dependant on the targetnamespace 
mentioned in the WSDL ie like http://dev.abcd.com. So when I am generating the 
AAR file it always comes under com.abcd.dev diretory. But As per my company 
standards all of the service related file should go to entirely different 
directory structure say com.xyz.sync. But when I tried changing ( I think I was 
entirely wrong there) target namespace of defenition and Schema .. The client 
is throwing errors "Unexpected subelement" error( I think we cannot chage the 
target namespace that way , becuase client program is purely depend on the 
targetnamespace). Is there any way I can tackle this problem, Like two 
different package Stucture at Client and Service side and still both working 
fine. I am using "document" type soap operation .And the client that will be 
accessing the webservice is been developed in microsoft platform
 and I cannot makee any changes to client.
   
  Thanks in advance.
  Renjith Kalappurackal
   
   



-
  Looking for a deal? Find great prices on flights and hotels with Yahoo! 
FareChase.

   
-
Building a website is a piece of cake. 
Yahoo! Small Business gives you all the tools to get online.

Re: [Axis2] SOAPMonitorApplet.class not found

2007-06-19 Thread Chris Shah
You will have to unjar axis2-soapmonitor-1.2.jar. 
   
  See the last section of http://ws.apache.org/axis2/1_2/soapmonitor-module.html
   
  Thanks
  Chris

Oliver Hirschi <[EMAIL PROTECTED]> wrote:
  Hi there

I have just installed Axis2 (Version 1.2) and I try to run the 
SOAPMonitor-Applet.
Unfortunately I am not able to run it.

What I have done:
1.) Add '' to axis2.xml of the 
"axis2\WEB-INF\conf\" folder.
2.) Add the and to web.xml of the 
"axis2\WEB-INF\" folder.
3.) Restart Tomcat.
There is a "axis2-soapmonitor-1.2.jar" in the "axis2\WEB-INF\lib\" 
directory.

Now, when I call http://localhost:8080/axis2/SOAPMonitor there comes 
the message "Applet SOAPMonitorApplet notinited" in the browser 
statusbar.
The Java console shows:

Laden: Klasse SOAPMonitorApplet.class nicht gefunden
java.lang.ClassNotFoundException: SOAPMonitorApplet.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more


It seems like a classpath-problem, but I don't know where to solve.
I also tried to copy the "axis2-soapmonitor-1.2.jar" to the 
"apache-tomcat-6.0.13\lib\" directory, but it does not help.

Could anyone help me on this problem?

Great thanks.
-- 
Oliver Hirschi
http://www.FamilyHirschi.ch



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



  
-
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.

Re: Error: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/axis/services/LogCollector?wsdl at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unk

2007-06-20 Thread Chris Shah
Can you send the command you invoke ?

Roland Piazzi <[EMAIL PROTECTED]> wrote:  Hi!

I try to generate WSDL2Java classes but receive the following error (the 
service is reachable at this endpoint) :

java.io.IOException: Server returned HTTP response code: 500 for URL: 
http://localhost:8080/axis/services/LogCollector?wsdl at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown
 
Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown
 
Source)
at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuratioin.parse(Unknown 
Source)
at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuratioin.parse(Unknown 
Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown 
Source)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown 
Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown 
Source)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:420)
at 
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:482)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
at java.lang.Thread.run(Unknown Source)

Can anyone help?
Thanks and regards
Roland 


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



   
-
Get the Yahoo! toolbar and be alerted to new email wherever you're surfing. 

Array in axis 2

2007-06-20 Thread Chris Shah
I am writing a doc literal wsdl. I have an issue with creating an array of 
objects. I have an element 'a' and another element 'b' which is an array of 
objects 'a'. WSDL2JAVA gives me 
   
  WARNING: Type {http://sample.com/}a missing!
   
  Here are the wsdl snippets:
   
  







   
 
   
   
 
  
   
   
   
  ns1 is defined in the definitions as xmlns:ns1="http://mysample.com/";
   
  If I specify type="a", that doesn't work either and I get the same warning. 
   
  ANy help will be appreciated.
   
  TIA
  Cris 
   
   
   

   
-
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us.

RE: Array in axis 2

2007-06-22 Thread Chris Shah
Thanks Raghu. That worked... 

Raghu Upadhyayula <[EMAIL PROTECTED]> wrote:v\:* 
{behavior:url(#default#VML);}  o\:* {behavior:url(#default#VML);}  w\:* 
{behavior:url(#default#VML);}  .shape {behavior:url(#default#VML);}
st1\:*{behavior:url(#default#ieooui) }Hi Chris,
   
  Try changing your wsdl as shown below in blue
   
  Thanks
  Raghu
   
  
-
  
  From: Chris Shah [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 20, 2007 7:33 PM
To: axis-user@ws.apache.org
Subject: Array in axis 2

   
I am writing a doc literal wsdl. I have an issue with creating an array of 
objects. I have an element 'a' and another element 'b' which is an array of 
objects 'a'. WSDL2JAVA gives me 

 

WARNING: Type {http://sample.com/}a missing!

 

Here are the wsdl snippets:

 










 

   
   
   
 
  
   
   

 

ns1 is defined in the definitions as xmlns:ns1="http://mysample.com/";

 

If I specify type="a", that doesn't work either and I get the same warning. 

 

ANy help will be appreciated.

 

TIA

Cris 

 

 

 



-
  
  Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel 
and lay it on us. 



   
-
Yahoo! oneSearch: Finally,  mobile search that gives answers, not web links. 

Enable MTOM per operation

2007-06-29 Thread Chris Shah
I know this should be done in services.xml, but can anyone show me a sample. 
   
  TIA
  Chris

   
-
Get the free Yahoo! toolbar and rest assured with the added security of spyware 
protection.