directory for cached attachments

2007-03-14 Thread Manuel Ernstberger
Hello,

how can I get the directory to which Axis 1.4 caches received attachments? In 
the server-config.wsdd there's a property "attachments.Directory". But how can 
a client get that directory? Is there any possibility to read the server-config 
from client side? And is it possible to change that directory programmatically?

Thank you in advance.

Regards,
Manuel

-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: www.gmx.net/de/go/mailfooter/topmail-out

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



Re: attachments clean-up after a defined time

2007-03-13 Thread Manuel Ernstberger
Hello Thilina and Jochen,

I don't use Axis2 but Axis 1.4. There the attachment files are obviously 
cleaned up after some time. That's my own experience and that is also written 
in "Fear of Attachments" from Steve Loughran [1] on page 5: "Attachments are 
saved to memory if they are small (under 16KB or so), and then to disk if they 
get larger. Axis1.1 automatically cleans up these files when the attachments 
are finalized, but not before."

Regards,
Manuel



[1] 
http://www.mail-archive.com/axis-user@xml.apache.org/msg08732/Fear_of_Attachments.pdf


 Original-Nachricht 
Datum: Tue, 13 Mar 2007 19:56:00 +0530
Von: "Thilina Gunarathne" <[EMAIL PROTECTED]>
An: axis-user@ws.apache.org
CC: 
Betreff: Re: attachments clean-up after a defined time

> Nope... Axis2 does not cleanup the file caching directory.. It's up to
> the application to clean it up..
> 
> May be some OS utility is cleaning your temp directory...
> 
> ~Thilina
> 
> On 3/13/07, Jochen Zink <[EMAIL PROTECTED]> wrote:
> > Hello Manuel,
> >
> > I don't believe that axis2 clean-up the cache Directory by itself. The
> application has to clean-up the Directory manually. On [1] you can read
> something about mtom attachments. Inside this article is a short description
> about filecaching.
> >
> > If axis2 can clean the cache Directory, I don't know how you can enable
> it. But if it is possible, I want to know, too :).
> >
> > Regards
> > Jochen
> >
> > [1] http://wso2.org/library/264
> >
> >
> >
> > > -Ursprüngliche Nachricht-
> > > Von: axis-user@ws.apache.org
> > > Gesendet: 13.03.07 10:21:50
> > > An: axis-user@ws.apache.org
> > > Betreff: attachments clean-up after a defined time
> >
> >
> > > Hello,
> > >
> > > when Axis receives attachments they are temporarily written to the
> hard disk. After some time they are deleted automatically. Is there a
> possibility to define the time to wait until the files are cleaned up?
> > >
> > > Thank you in advance.
> > >
> > > Regards,
> > > Manuel
> > >
> > >
> > > --
> > > Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
> > > Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > _
> > Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> > http://smartsurfer.web.de/?mc=100071&distributionid=0066
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> -- 
> Thilina Gunarathne  -  http://www.wso2.com - http://thilinag.blogspot.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
"Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...
Jetzt GMX ProMail testen: www.gmx.net/de/go/mailfooter/promail-out

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



attachments clean-up after a defined time

2007-03-13 Thread Manuel Ernstberger
Hello,

when Axis receives attachments they are temporarily written to the hard disk. 
After some time they are deleted automatically. Is there a possibility to 
define the time to wait until the files are cleaned up?

Thank you in advance.

Regards,
Manuel


-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

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



access to attachments with streams

2007-03-06 Thread Manuel Ernstberger
Hello,

how can I get access to SOAP attachments with streams? I want to create an 
attachment part with a data handler that has a stream as data source.
Do you have a code snippet that demonstrates this?

Thank you in advance.

Regards,
Manuel

-- 
"Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...
Jetzt GMX ProMail testen: www.gmx.net/de/go/mailfooter/promail-out

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



[Axis] attachment is not transported correctly

2007-02-14 Thread Manuel Ernstberger
Hello,

when I send a soap message with a big attachment from one web service to an 
other web service and then try to access that file in order to send it to a web 
service consumer, then the file is not available (input stream is null). But 
when I debug, the file is available. So I guess that Axis needs some time to 
write the temporary file completely before it can be accessed. Have you also 
had such a problem and how can you resolve it? Does that work better with Axis2?

Thanks in advance.

Regards,
Manuel

P.S. Sorry for my last e-mail. I have sent it unintentionally.
-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: www.gmx.net/de/go/mailfooter/topmail-out

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



[a

2007-02-14 Thread Manuel Ernstberger

-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: www.gmx.net/de/go/mailfooter/topmail-out

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



Re: Migrate from Axis 1.4 to Axis 2

2007-01-09 Thread Manuel Ernstberger
Hi Simone,

on the Apache homepage there's a guide how to migrate from Axis 1.x to Axis 2:
http://ws.apache.org/axis2/1_0/migration.html

Regards,
Manuel


 Original-Nachricht 
Datum: Tue, 9 Jan 2007 09:47:35 +0100
Von: [EMAIL PROTECTED]
An: axis-user@ws.apache.org
Betreff: Migrate from Axis 1.4 to Axis 2

> Hi all,
> 
>  I've developed an application using Axis 1.4, deploying services
>  with wsdd strategy and using beanMapping.
>  I consume this services in a C# .NET client, so beanMapping is so 
> important for me.
> 
>  How can I migrate my application to Axis2? How can replace wsdd deploying
> and 
>  how can I replace bean mapping?
> 
> Thank you very much
> 
> Simone Masoni
> Tel. 0571 998771 
> [EMAIL PROTECTED] 
> Skype me 
> 
> ComputerVar Net s.r.l.
> Tel. 0571 998770 - Fax 055 340576
> Firenze:Via Volturno, 10/12 - 50019 Loc. Osmannoro Sesto Fiorentino (FI) 
> C/O Groma Center, Torre B Uff.1/2
> Empoli: Via Giuntini, 40 50053 Empoli (FI) - C/O Gruppo Sesa
> Livorno: Piazza Dante, 19/20 - 57121 Livorno
> www.computervarnet.it

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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



verify username token

2006-12-22 Thread Manuel Ernstberger
Hello all,

how can I verify a username token? Is there a method for that in wss4j?

Thanks in advance.

Regards,
Manuel
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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



Re: test

2006-12-14 Thread Manuel Ernstberger
I can see your mail. If you don't get the mails then you certainly haven't 
subscribed properly to the mailing list. Perhaps you have not clicked on the 
confirmation link yet?


 Original-Nachricht 
Datum: Thu, 14 Dec 2006 11:20:11 +0200
Von: "asaf.lahav" <[EMAIL PROTECTED]>
An: axis-user@ws.apache.org
Betreff: test

> Can anyone see my mail?
> 
> For some reason I'm not getting the mails I am sending to the mailing
> list.
> 

-- 
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!

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



Re: WS debugging in Eclipse

2006-12-06 Thread Manuel Ernstberger
Hi Vladi,

with Eclipse WTP (http://www.eclipse.org/webtools/) you can run your web 
services on an application server in debug mode.

Regards,
Manuel


 Original-Nachricht 
Datum:  Wed, 6 Dec 2006 09:56:54 +0100
Von: "VF" <[EMAIL PROTECTED]>
An: axis-user@ws.apache.org
Betreff:  WS debugging in Eclipse

> Hi all,
> Is it possible to debug web services in Eclipse?
> 
> 
>Vladi
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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



Re: Axis 2 Java WS provider + PHP Client problem

2006-11-14 Thread Manuel Ernstberger
Hello,

unfortunately I don't know how web services work with php, but it looks to me 
that the web service only accepts one parameter ($part1) but you invoke it with 
two parameters ($a and $b). Could you or perhaps someone else check whether 
this is a possible reason for the error?

Regards,
Manuel




 Original-Nachricht 
Datum: Tue, 14 Nov 2006 14:56:54 +0100
Von: sentenza <[EMAIL PROTECTED]>
An: axis-user@ws.apache.org
Betreff: Re: Axis 2 Java WS provider + PHP Client problem

> I tried other sample services methodes who take on parameter, and I have
> always the same error in the php client code :(
> Is there a problem using the wdsl generated file with php soap ?
> 
> I also check the Axis 2 echo sample service. I saw that the echo methode
> take one parameter and this parameter type is OMElement. This is the same
> for AddService::add methode. I ask me if all complextype must be
> implemented
> with OMElement or I can use  own classes type as argument ?
> 
> 
> On 11/14/06, sentenza <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi,
> >
> > I try to developp a php SOAP client write with php 5. I use an axis 2 as
> > WS provider.
> >
> > To test I use Axis 2 sgccalculator sample and try to call
> AddService::add
> > methode.
> >
> > I generated the wsdl file for AddService with Axis 2 Eclipse Wizzard
> > (Java2WSDL) and I introducted it in META-IN directory of the
> sgccalculator
> > Axis Archive. I deployed the Service with the Axis 2 administration
> pages.
> >
> > Now I can access to the wsdl file with this url :
> http://localhost:8080/axis2/services/AddService?wsdl
> > .
> >
> > So I write a php client test page like this :
> >
> > -
> >  > $client = new
> SoapClient("http://localhost:9393/axis2/services/AddService?wsdl
> > ");
> > print_r($client);
> >
> > echo "";
> > echo "";
> >
> > var_dump($client->__getFunctions());
> >
> > echo "";
> > echo "";
> >
> > var_dump($client->__getTypes());
> >
> > echo "";
> > echo "";
> > echo "";
> >
> > $a = 1;
> > $b = 2;
> >
> > try {
> >
> > $result = $client->add($a, $b);
> > }
> > catch (SoapFault $exception) {
> > echo "ERROR !!! ";
> > echo $exception;
> > }
> >
> > ?>
> > 
> >
> > I write you because I add the followind error, and I can't resolve it :
> >
> > 
> > SoapClient Object ( [_soap_version] => 1 [sdl] => Resource id #3 )
> >
> > array(6) { [0]=> string(51) "addPreviousResponse addPrevious(addPrevious
> > $part1)" [1]=> string(27) "addResponse add(add $part1)" [2]=> string(51)
> > "addPreviousResponse addPrevious(addPrevious $part1)" [3]=> string(27)
> > "addResponse add(add $part1)" [4]=> string(51) "addPreviousResponse
> > addPrevious(addPrevious $part1)" [5]=> string(27) "addResponse add(add
> > $part1)" }
> >
> > array(4) { [0]=> string(29) "struct add { anyType elem; }" [1]=>
> > string(39) "struct addResponse { anyType return; }" [2]=> string(37)
> "struct
> > addPrevious { anyType elem; }" [3]=> string(47) "struct
> addPreviousResponse
> > { anyType return; }" }
> >
> >
> > ERROR !!!
> > SoapFault exception: [soapenv:Client] unknown in W:\www\index.php:60
> Stack
> > trace: #0 [internal function]: SoapClient->__call('add', Array) #1
> > W:\www\index.php(60): SoapClient->add(1, 2) #2 {main}
> >
> > 
> >
> > Thanks for help ;)
> >
> > --
> > Benoit
> >
> >
> 
> 
> -- 
> char sentenza[] =
> "\xeb\x0d\x5f\x31\xc0\x50\x89\xe2"
> "\x52\x57\x54\xb0\x3b\xcd\x80\xe8"
> "\xee\xff\xff\xff/bin/sh";

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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



Java2WSDL generates incorrect WSDL

2006-10-31 Thread Manuel Ernstberger
Hello all,

when I generate a WSDL from a Java class with the latest nightly build of 
Axis2, in the generated WSDL the "wsdl:fault" element has no "name" attribute, 
as it is supposed to be.


My Java class looks like that:

public class TestWSImpl implements TestWS {

public void ping(String text){
System.out.println(text);
}

public String echo(String text) {
System.out.println(text); 
return text;  
} 
}

And this is the resulting WSDL:

http://epdm.tsystems.com/xsd"; 
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; 
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; 
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; 
xmlns:ns1="http://epdm.tsystems.com/xsd"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
targetNamespace="http://epdm.tsystems.com/xsd";>http://www.w3.org/2001/XMLSchema"; 
xmlns:ax21="http://epdm.tsystems.com/xsd"; attributeFormDefault="qualified" 
elementFormDefault="qualified" targetNamespace="http://epdm.tsystems.com/xsd";>



































http://schemas.xmlsoap.org/soap/http"; style="document" 
/>http://epdm.tsystems.com/xsd"; />http://epdm.tsystems.com/xsd"; 
/>http://epdm.tsystems.com/xsd"; 
/>http://epdm.tsystems.com/xsd"; />http://epdm.tsystems.com/xsd"; 
/>http://schemas.xmlsoap.org/soap/http"; style="document" 
/>http://epdm.tsystems.com/xsd"; 
/>http://epdm.tsystems.com/xsd"; 
/>http://epdm.tsystems.com/xsd"; 
/>http://epdm.tsystems.com/xsd"; 
/>http://epdm.tsystems.com/xsd"; 
/>http://localhost:8080/axis2/services/TestWSTestWS"; 
/>http://localhost:8080/axis2/services/TestWSTestWS"; 
/>


Regards,
Manuel

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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



SAML Token with Rampart

2006-10-19 Thread Manuel Ernstberger
Hello all,

when I try to send a message with a SAML Token created by Rampart, an 
UnsupportedOperationException occurs.

The settings on client side are:



SAMLTokenUnsigned
saml.properties



on server side:




SAMLTokenUnsigned
saml.properties

 


saml.properties contains this:

org.apache.ws.security.saml.issuerClass=org.apache.ws.security.saml.SAMLIssuerImpl
org.apache.ws.security.saml.issuer.cryptoProp.file=crypto.properties
org.apache.ws.security.saml.issuer.key.name=bob
org.apache.ws.security.saml.issuer.key.password=bobsPW
org.apache.ws.security.saml.issuer=www.example.com
org.apache.ws.security.saml.subjectNameId.name=uid=joe,ou=people,ou=saml-demo,o=example.com
org.apache.ws.security.saml.subjectNameId.qualifier=www.example.com
org.apache.ws.security.saml.authenticationMethod=password
org.apache.ws.security.saml.confirmationMethod=senderVouches


The message sent by the client looks like that:


   http://www.w3.org/2005/08/addressing"; 
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";>
  
 http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
 soapenv:mustUnderstand="true">
http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns="urn:oasis:names:tc:SAML:1.0:assertion" 
AssertionID="_0ceb59b9b4e360d48a409a0380f348b3" 
IssueInstant="2006-10-19T09:03:22.662Z" Issuer="www.example.com" 
MajorVersion="1" MinorVersion="1">
   
  
 uid=joe,ou=people,ou=saml-demo,o=example.com
 

urn:oasis:names:tc:SAML:1.0:cm:sender-vouches
 
  
   

 
 http://localhost:/axis2/services/TestWS
 

http://www.w3.org/2005/08/addressing/anonymous
 
 
urn:uuid:8B6348B2D76C5B03A811612486005371
 urn:echo
  
  
 http://epdm.tsystems.com/xsd";>
Hello world
 
  
   



The response from the server is:

html>
   
  Apache Tomcat/4.1.31 - Error report
  
  
  
  
 HTTP Status 500 - 
 

   type Exception report


   message 
   


   description 
   The server encountered an internal error () that prevented it 
from fulfilling this request.


   exception 
   java.lang.UnsupportedOperationException: TODO   at 
org.apache.axiom.om.impl.dom.ElementImpl.setIdAttributeNode(ElementImpl.java:1379)
   at org.opensaml.SAMLAssertion.fromDOM(Unknown Source)   at 
org.opensaml.SAMLAssertion.(Unknown Source)  at 
org.apache.ws.security.processor.SAMLTokenProcessor.handleSAMLToken(SAMLTokenProcessor.java:53)
  at 
org.apache.ws.security.processor.SAMLTokenProcessor.handleToken(SAMLTokenProcessor.java:42)
  at 
org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:269)
 at 
org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:191)
 at 
org.apache.axis2.security.WSDoAllReceiver.processMessage(WSDoAllReceiver.java:180)
   at 
org.apache.axis2.security.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:82) 
 at org.apache.axis2.engine.Phase.invoke(Phase.java:381) at 
org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)   at 
org.apache.axis2.engine.AxisEngine.receive(AxisEngine
 .java:445) at 
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
   at 
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:716) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:809) at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
  at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433) 
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)   
 at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
  at org.apache.catalina.core.Standa

Re: wrapped style with Axis2

2006-10-17 Thread Manuel Ernstberger
Hello Davanum,

I know that Axis2 supports rpc/lit and doc/lit, but AFAIK not yet the wrapped 
style. So I wanted to know when the *wrapped* style will be supported.


Regards,
Manuel




 Original-Nachricht 
Datum: Tue, 17 Oct 2006 13:02:52 -0400
Von: "Davanum Srinivas" <[EMAIL PROTECTED]>
An: axis-user@ws.apache.org
Betreff: Re: wrapped style with Axis2

> Axis2 supports both RPC/LIT and DOC/LIT right now.
> 
> -- dims
> 
> On 10/17/06, Manuel Ernstberger <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > does anybody know when Axis2 will support the doc/lit/wrapped style?
> >
> > Regards,
> > Manuel Ernstberger
> > --
> > GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
> > NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> -- 
> Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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



wrapped style with Axis2

2006-10-17 Thread Manuel Ernstberger
Hello,

does anybody know when Axis2 will support the doc/lit/wrapped style?

Regards,
Manuel Ernstberger
-- 
GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl

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



Re: Web service deploy error

2006-10-16 Thread Manuel Ernstberger
Hi,

the wsdl is only shown if you use the RPCMessageReceiver. For the 
RawXMLINOutMessageReceiver it doesn't work.

Regards,
Manuel

 
 Original-Nachricht 
Datum: Tue, 17 Oct 2006 14:14:19 +0800
Von: "OUYANG Yang" <[EMAIL PROTECTED]>
An: axis-user@ws.apache.org, [EMAIL PROTECTED]
Betreff: Web service deploy error

> Hi Thilina:
>  I am using the Axis2 1.1-RC1 edition now. but I meet a problem when I
> try to  deploy a simple web service in it. 
>  The services.xml file is like:
>   
>  
> This service is to say hello to users.hello~~ ouyang yang2 
> 
> hello2
> 
>  class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver" />
> 
> 
> 
>But the strange thing is that when I list the service through the
> link:http://localhost:8080/axis2-1.1-RC1/services/listServices
>the service description is just: hello2
>   but using Axis2-0.95 edition, the service description is the same as
> written in services.xml as:   This service is to say hello to users.hello~~
> ouyang yang2
>   
>why the service desciption informaiton is not correct? And when I try
> to view the wsdl file of my sample web service, it says :
>- 
>   Unable to generate WSDL for this service 
>   If you wish Axis2 to automatically generate the WSDL, then
> please use one of the RPC message receivers for the service(s)/operation(s) in
> services.xml. If you have added a custom WSDL in the META-INF directory,
> then please make sure that make sure that the name of the service in
> services.xml (/serviceGroup/service/@name) is the same as in the custom wsdl's
> service name (/wsdl:definitions/wsdl:service/@name). 
>   
>which is working in edition 0.95
>Thank you very much!
>   
> Best regards
> Ouyang Yang
> Research Fellow 
> School of Information Systems
> Singapore Management University
> [EMAIL PROTECTED]
> 
> 
> -Original Message-
> From: Thilina Gunarathne [mailto:[EMAIL PROTECTED] 
> Sent: 2006年10月16日 17:16
> To: axis-user@ws.apache.org
> Subject: Re: Maven war failure
> 
> Please use the nightly builds available at
> http://people.apache.org/dist/axis2/nightly/
> 
> or the Axis2 1.1-RC1 available at
> http://people.apache.org/‾thilina/axis2/1.1-RC1/
> 
> ‾Thilina
> 
> On 10/16/06, OUYANG Yang <[EMAIL PROTECTED]> wrote:
> >  Hi
> >  I have problem when I try to use "maven war" to build the source code 
> > of "axis2-std-0.95-src"
> >  the error is as follows:
> >  Build Failed
> >  File..C:¥axis2-std-0.95-src¥maven.xml
> >  Element...maven:reactor
> >  Line.658
> >  Column45
> >  Error parsing project.xml
> > 'C:¥axis2-std-0.95-src¥modules¥adb¥project.properties'
> >
> > Could anyone tell me what's the problem? Has anyone met the same 
> > problem before?
> > Btw, I can successfully run the command "maven".
> > Thank you so much!
> >
> >
> > Ouyang Yang
> > Research Fellow
> > School of Information Systems
> > Singapore Management University
> > [EMAIL PROTECTED]
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> --
> http://webservices.apache.org/‾thilina/
> http://thilinag.blogspot.com/
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl

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



Re: [axis2] stub generated by axis 2 is not compiling but stub generated by axis 1.4 works fine.

2006-10-13 Thread Manuel Ernstberger
Hello Shantanu,

I just had the same problem. But then I realized that in my wsdl the style was 
wrong. After setting it to "document", the stub worked alright.

Regards,
Manuel


 Original-Nachricht 
Datum: Fri, 29 Sep 2006 16:02:26 -0700
Von: "shantanu chawla" <[EMAIL PROTECTED]>
An: axis-user@ws.apache.org
Betreff: [axis2] stub generated by axis 2 is not compiling but stub generated 
by axis 1.4 works fine.

> I am testing .net webservice interoperability using axis 1.4 and axis2.
> While I can access the webservice using axis1.4 and my axis1.4 client
> works fine but when I generate the client stubs using axis2 it is not
> compiling. In my client stub generated by axis 2 code generatorI am
> having this error :unreachable code at --> line.
> 
> 
>//Unknown style!! No code is generated
> throw new UnsupportedOperationException("Unknown Style");
> 
> // create message context with that soap envelope
>  --> org.apache.axis2.context.MessageContext _messageContext = new
> org.apache.axis2.context.MessageContext();
> _messageContext.setEnvelope(env);
> 
> This webservice is built on .NET 1.1 and WSE 2.0.
> 
> Any pointers wht can be wrong.
> 
> Shantanu
> -- 
> Graduate Student
> Department of Computer Science,
> San Diego State University
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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



Re: [Axis2] Deployment without aar

2006-09-28 Thread Manuel Ernstberger
Hello Davanum,

thank you for your tutorial. That might be useful for me.

But I still have some questions about that.

As I use Eclipse, which has an automatical build function, I think I won't need 
maven. But in which directory should I put my classes and which classes are 
needed? Is the implementation class sufficient or do I need something like 
stubs and skeletons? 

Regards,
Manuel


 Original-Nachricht 
Datum: Wed, 27 Sep 2006 09:23:41 -0400
Von: "Davanum Srinivas" <[EMAIL PROTECTED]>
An: axis-user@ws.apache.org
Betreff: Re: [Axis2] Deployment without aar

> Yes, it is possible. See http://www.wso2.net/kb/90 for an example. AAR
> is needed for say hot deployment (add / remove services w/o bringing
> down the server) and for service isolation (different aar's can
> contain different versions of the same jar) etc...
> 
> -- dims
> 
> On 9/27/06, Manuel Ernstberger <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > is it possible to deploy web services using Axis2 without creating an
> aar?
> >
> > If this is not possible, could you please tell me what are the
> advantages of the deployment with an aar as opposed to the deployment process 
> of
> Axis 1.x?
> >
> >
> > Regards,
> > Manuel Ernstberger
> >
> > --
> > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> -- 
> Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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



[Axis2] Deployment without aar

2006-09-27 Thread Manuel Ernstberger
Hello,

is it possible to deploy web services using Axis2 without creating an aar?

If this is not possible, could you please tell me what are the advantages of 
the deployment with an aar as opposed to the deployment process of Axis 1.x?


Regards,
Manuel Ernstberger

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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