Re: Missing operation name in request body

2010-01-30 Thread Milan Tomic

Any ideas? My question is why Axis generates SOAP request body without 
operation name from normal WSDL? What could by the reason?

Kind regards,
Milan




- Original Message 
From: Milan Tomic tomicmi...@yahoo.com
To: axis-user@ws.apache.org
Sent: Fri, January 29, 2010 2:21:01 PM
Subject: Missing operation name in request body


My SOAP body request looks like:

soapenv:BodyfarmId xmlns=112233/farmId/soapenv:Body

and it should look like:

soapenv:BodyGetFarm xmlns=theNameSpacefarmId 
xmlns=112233/farmId/GetFarm/soapenv:Body

I'm using document/literal style with Axis1 version 1.4. I have other project 
that has very similar WSDL and it uses the same Axis version and it works OK. I 
don't know where the difference is???

Thank you in advance,
Milan


  


Missing operation name in request body

2010-01-29 Thread Milan Tomic

My SOAP body request looks like:

soapenv:BodyfarmId xmlns=112233/farmId/soapenv:Body

and it should look like:

soapenv:BodyGetFarm xmlns=theNameSpacefarmId 
xmlns=112233/farmId/GetFarm/soapenv:Body

I'm using document/literal style with Axis1 version 1.4. I have other project 
that has very similar WSDL and it uses the same Axis version and it works OK. I 
don't know where the difference is???

Thank you in advance,
Milan



  


Block WSDL

2009-04-07 Thread Milan Tomic


Since Axis 1.4 has problems generating WSDL (when ?wsdl appended at the end of 
web service URL), is there any way to disable users to ask for WSDL by using 
?wsdl option and to force them to download valid WSDL from my web site?

Thank you in advance,
Milan



  


Re: Block WSDL

2009-04-07 Thread Milan Tomic


Are you sure this will work in Axis 1.4? This sounds like axis2 solution...

Thank you very much for your time,
Milan




- Original Message 
From: Sagara Gunathunga sagara.gunathu...@gmail.com
To: axis-user@ws.apache.org
Sent: Tuesday, April 7, 2009 5:16:43 PM
Subject: Re: Block WSDL

Hi Milan,
You can package your original WSDL file  within your service's
META-INF directory  , and then use following option in the service.xml
file, this will pick up your original WSDL file instead  of automatic
generation.

parameter name=useOriginalwsdltrue/parameter

Thanks ,

On Tue, Apr 7, 2009 at 7:37 PM, Milan Tomic tomicmi...@yahoo.com wrote:


 Since Axis 1.4 has problems generating WSDL (when ?wsdl appended at the end 
 of web service URL), is there any way to disable users to ask for WSDL by 
 using ?wsdl option and to force them to download valid WSDL from my web site?

 Thank you in advance,
 Milan








-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://sagaras.awardspace.com/



  


Re: Operation Not found EPR...

2007-04-05 Thread Milan Tomic

I have noticed that I have used RPC MEP instead of RawXML MEP in my 
services.xml. I have changed this, but still the same error message... :(




- Original Message 
From: Milan Tomic [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Thursday, April 5, 2007 10:26:13 AM
Subject: Re: Operation Not found EPR...


I'm not using actionMapping in services.xml either. I have read here:

http://ws.apache.org/axis2/1_1_1/xmlbased-server.html

that actionMapping is used only for WS-Addressing.

I haven't made any progress for few days, so I will post my services.xml, .java 
and .wsdl files and I will hope someone will take a look and help me. Files 
will be attached with this e-mail. I hope apache mail server won't block this 
e-mail because of attachments.

Thank you,
Milan


- Original Message 
From: Kang, Kamaljeet K. [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Wednesday, April 4, 2007 10:25:22 PM
Subject: RE: Operation Not found EPR...

I had a similar error recently and I wasn't using ws-addressing. It was
because of typo in actionMapping in services.xml.

kamal

-Original Message-
From: Michele Mazzucco [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 03, 2007 4:26 AM
To: axis-user@ws.apache.org
Subject: Re: Operation Not found EPR...

EPR means endpoint reference. It's the url where your service is
available.
Milan, if the error message says WSA action =  it means that you are
using ws-addressing.


Michele


On Tue, 2007-04-03 at 01:04 -0700, Milan Tomic wrote:
 No, I'm not using WS-addressing. Is this error message described
somewhere in documentation? What does it mean? Which operation was not
found? What is EPR?
 
 Best regards,
 Milan
 
 
 - Original Message 
 From: Michele Mazzucco [EMAIL PROTECTED]
 To: axis-user@ws.apache.org
 Sent: Monday, April 2, 2007 4:36:04 PM
 Subject: Re: Operation Not found EPR...
 
 Milan,
 
 are you using WS-addressing? If so you have to specify the SOAP action
 on the client side (use options.setAction()), which is the value
 specified in services.xml as actionMapping element.
 
 Michele
 
 On Mon, 2007-04-02 at 06:55 -0700, Milan Tomic wrote:
  I got this error message:
  
  javax.xml.rpc.soap.SOAPFaultException: Operation Not found EPR is
http://localhost:8080/axis2/services/MyWebService and WSA Action =  
  
  
  but I don't know what does it mean? What went wrong? :(
  
  
  Thank you in advance,
  Milan
  
  
  
  
   
 


  Get your own web address.  
  Have a HUGE year through Yahoo! Small Business.
  http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
  
 
-
  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]
 
 
 
 
 
 
  



 Don't pick lemons.
 See all the new 2007 cars at Yahoo! Autos.
 http://autos.yahoo.com/new_cars.html 
 
 -
 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]

The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader
of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the
intended recipient, you are hereby notified that any reproduction,
dissemination or distribution of this communication is strictly
prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and
deleting it from your computer. Thank you. Tellabs


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






 

It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/
package test;



import java.rmi.RemoteException;

import org.w3c.dom.Document;



public class DoThings {



public Document doThing(Document doc) throws RemoteException{

System.out.println(*** doThing service ***);

return null;

}



}


serviceGroup

service name=DoThingService scope=application

description

Do Something Web Service

Re: Operation Not found EPR...

2007-04-05 Thread Milan Tomic

I'm not using actionMapping in services.xml either. I have read here:

http://ws.apache.org/axis2/1_1_1/xmlbased-server.html

that actionMapping is used only for WS-Addressing.

I haven't made any progress for few days, so I will post my services.xml, .java 
and .wsdl files and I will hope someone will take a look and help me. Files 
will be attached with this e-mail. I hope apache mail server won't block this 
e-mail because of attachments.

Thank you,
Milan


- Original Message 
From: Kang, Kamaljeet K. [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Wednesday, April 4, 2007 10:25:22 PM
Subject: RE: Operation Not found EPR...

I had a similar error recently and I wasn't using ws-addressing. It was
because of typo in actionMapping in services.xml.

kamal

-Original Message-
From: Michele Mazzucco [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 03, 2007 4:26 AM
To: axis-user@ws.apache.org
Subject: Re: Operation Not found EPR...

EPR means endpoint reference. It's the url where your service is
available.
Milan, if the error message says WSA action =  it means that you are
using ws-addressing.


Michele


On Tue, 2007-04-03 at 01:04 -0700, Milan Tomic wrote:
 No, I'm not using WS-addressing. Is this error message described
somewhere in documentation? What does it mean? Which operation was not
found? What is EPR?
 
 Best regards,
 Milan
 
 
 - Original Message 
 From: Michele Mazzucco [EMAIL PROTECTED]
 To: axis-user@ws.apache.org
 Sent: Monday, April 2, 2007 4:36:04 PM
 Subject: Re: Operation Not found EPR...
 
 Milan,
 
 are you using WS-addressing? If so you have to specify the SOAP action
 on the client side (use options.setAction()), which is the value
 specified in services.xml as actionMapping element.
 
 Michele
 
 On Mon, 2007-04-02 at 06:55 -0700, Milan Tomic wrote:
  I got this error message:
  
  javax.xml.rpc.soap.SOAPFaultException: Operation Not found EPR is
http://localhost:8080/axis2/services/MyWebService and WSA Action =  
  
  
  but I don't know what does it mean? What went wrong? :(
  
  
  Thank you in advance,
  Milan
  
  
  
  
   
 


  Get your own web address.  
  Have a HUGE year through Yahoo! Small Business.
  http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
  
 
-
  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]
 
 
 
 
 
 
  



 Don't pick lemons.
 See all the new 2007 cars at Yahoo! Autos.
 http://autos.yahoo.com/new_cars.html 
 
 -
 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]

The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader
of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the
intended recipient, you are hereby notified that any reproduction,
dissemination or distribution of this communication is strictly
prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and
deleting it from your computer. Thank you. Tellabs


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






 

It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/package test;

import java.rmi.RemoteException;
import org.w3c.dom.Document;

public class DoThings {

public Document doThing(Document doc) throws RemoteException{
	System.out.println(*** doThing service ***);
return null;
}

}


DoThings.wsdl
Description: application/xml
serviceGroup
	service name=DoThingService scope=application
	description
	Do Something Web Service
	/description
	messageReceivers
	messageReceiver mep=http://www.w3.org/2004/08/wsdl/in-out;
		class=org.apache.axis2.rpc.receivers.RPCMessageReceiver/
	/messageReceivers
	parameter name=ServiceClass
	test.DoThings
	/parameter
	/service
/serviceGroup

Re: Operation Not found EPR...

2007-04-04 Thread Milan Tomic

Well, in my WSDL I'm not using 
http://schemas.xmlsoap.org/ws/2004/08/addressing; namespace and in my 
services.xml I'm not using any word that contain add letters. Why do you 
think that I am using WS-Addressing?

Best regards,
Milan


- Original Message 
From: Michele Mazzucco [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Tuesday, April 3, 2007 10:26:14 AM
Subject: Re: Operation Not found EPR...

EPR means endpoint reference. It's the url where your service is
available.
Milan, if the error message says WSA action =  it means that you are
using ws-addressing.


Michele


On Tue, 2007-04-03 at 01:04 -0700, Milan Tomic wrote:
 No, I'm not using WS-addressing. Is this error message described somewhere in 
 documentation? What does it mean? Which operation was not found? What is 
 EPR?
 
 Best regards,
 Milan
 
 
 - Original Message 
 From: Michele Mazzucco [EMAIL PROTECTED]
 To: axis-user@ws.apache.org
 Sent: Monday, April 2, 2007 4:36:04 PM
 Subject: Re: Operation Not found EPR...
 
 Milan,
 
 are you using WS-addressing? If so you have to specify the SOAP action
 on the client side (use options.setAction()), which is the value
 specified in services.xml as actionMapping element.
 
 Michele
 
 On Mon, 2007-04-02 at 06:55 -0700, Milan Tomic wrote:
  I got this error message:
  
  javax.xml.rpc.soap.SOAPFaultException: Operation Not found EPR is 
  http://localhost:8080/axis2/services/MyWebService and WSA Action =  
  
  
  but I don't know what does it mean? What went wrong? :(
  
  
  Thank you in advance,
  Milan
  
  
  
  
   
  
  Get your own web address.  
  Have a HUGE year through Yahoo! Small Business.
  http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
  
  -
  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]
 
 
 
 
 
 
  
 
 Don't pick lemons.
 See all the new 2007 cars at Yahoo! Autos.
 http://autos.yahoo.com/new_cars.html 
 
 -
 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]






 

Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097

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



Re: Operation Not found EPR...

2007-04-03 Thread Milan Tomic

No, I'm not using WS-addressing. Is this error message described somewhere in 
documentation? What does it mean? Which operation was not found? What is EPR?

Best regards,
Milan


- Original Message 
From: Michele Mazzucco [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Monday, April 2, 2007 4:36:04 PM
Subject: Re: Operation Not found EPR...

Milan,

are you using WS-addressing? If so you have to specify the SOAP action
on the client side (use options.setAction()), which is the value
specified in services.xml as actionMapping element.

Michele

On Mon, 2007-04-02 at 06:55 -0700, Milan Tomic wrote:
 I got this error message:
 
 javax.xml.rpc.soap.SOAPFaultException: Operation Not found EPR is 
 http://localhost:8080/axis2/services/MyWebService and WSA Action =  
 
 
 but I don't know what does it mean? What went wrong? :(
 
 
 Thank you in advance,
 Milan
 
 
 
 
  
 
 Get your own web address.  
 Have a HUGE year through Yahoo! Small Business.
 http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
 
 -
 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]






 

Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 

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



Re: WebServices client

2007-04-02 Thread Milan Tomic

I did used WSDL2Java, but it issued an warning that it can't map my elements 
into Java types, so it mapped it into SOAPElement. I was expecting WSDL2Java to 
generate classes from my WSDL and schema. It generated proxy class(es).

As my web service expect SOAPElement as input, I tried to load my XML from a 
file:

DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
dbf.setNamespaceAware(true);
DocumentBuilder db = dbf.newDocumentBuilder();
Document doc = db.parse(new InputSource(files/request_body.xml));
Element request = doc.getDocumentElement();

GetCertificatePortProxy gc = new GetCertificatePortProxy();
SOAPElement response = gc.getCertificate(request);

but compiler doesn't compile that. :(

Any help? :)

Best regards,
Milan



- Original Message 
From: Philipp Leitner [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Monday, April 2, 2007 1:49:19 PM
Subject: Re: WebServices client

wsdl2java should encapsulate the complex types for you, so you could 
call the WS as if it was a local object. you should not need to deal 
with SOAPElements in this case. If you are not experienced with WS this 
might be the easier starting point.

/philipp


Milan Tomic schrieb:
 * my best guess is that you wanted to say that the service uses an 
 IN-OUT MEP, and that it takes a parameter as complex type for IN and 
 returns another complex type as OUT
 
 Yes, that exactly describes what I wanted to say, using all those fancy 
 words like MEP and complex type. :-)
 
 As my service takes an complex type element as input, I need to pass 
 SOAPElement and to receive SOAPElement. I don't know how to fill SOAPElement. 
 I will try to use XFire for the client.
 
 Thank you very much for your help,
 Milan
 
 
 
 - Original Message 
 From: Philipp Leitner [EMAIL PROTECTED]
 To: axis-user@ws.apache.org
 Sent: Friday, March 30, 2007 2:48:46 PM
 Subject: Re: WebServices client
 
 Although I have to confess that I lack any idea of what you mean by 
 takes an XSD element and returns an XSD element* I think that the 
 easiest way of testing a Web Service is to create client stubs using 
 wsdl2java (comes along with your Axis2 distribution) and use this stubs 
 to test the service. The whole process should not take  30 minutes in 
 general.
 
 Alternatively I have often used XFire (http://xfire.codehaus.org/) to 
 quickly test services ...
 
 /philipp
 
 * my best guess is that you wanted to say that the service uses an 
 IN-OUT MEP, and that it takes a parameter as complex type for IN and 
 returns another complex type as OUT
 
 Milan Tomic schrieb:
 I would like to test my web service, so I need a client. My web service 
 takes an XSD Element and returns an XSD Element. Is there some example of 
 such a client? Since input argument is large XML, I would like to load it 
 from a file, rather then building it in code.

 Thank you in advance,
 Milan




  
 
 Don't pick lemons.
 See all the new 2007 cars at Yahoo! Autos.
 http://autos.yahoo.com/new_cars.html 

 -
 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]
 
 
 
 
 
 
  
 
 Never miss an email again!
 Yahoo! Toolbar alerts you the instant new Mail arrives.
 http://tools.search.yahoo.com/toolbar/features/mail/
 
 -
 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]






 

The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php

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



Operation Not found EPR...

2007-04-02 Thread Milan Tomic

I got this error message:

javax.xml.rpc.soap.SOAPFaultException: Operation Not found EPR is 
http://localhost:8080/axis2/services/MyWebService and WSA Action =  


but I don't know what does it mean? What went wrong? :(


Thank you in advance,
Milan




 

Get your own web address.  
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL

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



Multiple WSDLs inside AAR

2007-03-30 Thread Milan Tomic

I have found this thread:

http://www.mail-archive.com/axis-dev@ws.apache.org/msg29607.html

it mention that if I have multiple WSDL documents (for multiple services) 
inside 1 AAR file, then every WSDL file should be named as service_name.wsdl. I 
did this but when I run:

http://localhost:8080/axis2/services/MyService?wsdl

it retrieves auto generated WSDL, instead of mine WSDL.

What could go wrong?

Thank you in advance,
Milan




 

Don't get soaked.  Take a quick peek at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather

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



WebServices client

2007-03-30 Thread Milan Tomic

I would like to test my web service, so I need a client. My web service takes 
an XSD Element and returns an XSD Element. Is there some example of such a 
client? Since input argument is large XML, I would like to load it from a file, 
rather then building it in code.

Thank you in advance,
Milan




 

Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 

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



Define multiple services in services.xml

2007-03-28 Thread Milan Tomic

Is it possible to define more than 1 service in services.xml file? I have 2 
services.




 

8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news

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