Re: log4j warnings

2006-04-22 Thread Alexandr Khlystov
yes, you can put to the directory from which you run your script log4j.properties file. it is placed: axis.home/lib/log4j.properties 
On 4/22/06, Jan Krumsiek <[EMAIL PROTECTED]> wrote:
> Your web service would still run. This is just a warning. if you bring> mail.jar and activation.jar
 to the classpath you should not see this. how> ever it would be required only if you want support for attachment.Okay but is there a way to get rid of this warning? I would like to have aclean stderr for my program.
Regards,Jan


Re: [AXIS2] WSDL2Java doesn't generate WSDL's method in stub.

2006-04-22 Thread Anne Thomas Manes
Is your goal to create an OUT only interface? That's not supported by SOAP 1.1. If you have no input, you still need to define an input message that has no parts. (Or even better, define an input message that has an empty element called getAllDocs.) Also, you must remove the namespace attribute from the  definition.
AnneOn 4/21/06, kensky <[EMAIL PROTECTED]> wrote:
I have tried to generate java code from wsdl2java tool. But the code itgenerates doesn't create a method which is specified in wsdl. My WSDL issimple enough there is a method getAllDocs() which returns array type.  I
dont know whats the problem, may be its a problem with wsdl or there is abug in axis2.The wsdl source code is pasted belowhttp://www.example.org/is"xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/"xmlns:xsd="http://www.w3.org/2001/XMLSchema"targetNamespace="
http://www.example.org/is">targetNamespace="
http://www.example.org/is"xmlns="http://www.w3.org/2001/XMLSchema">
type="tns:ArrayOfResourcesType" />
maxOccurs="unbounded" />
element="tns:ArrayOfResources" />

type="tns:ResourceDiscovery">transport="
http://schemas.xmlsoap.org/soap/http" />
soapAction="http://www.example.org/is/getAllDocs" />namespace="http://www.example.org/is" />
binding="tns:ResourceDiscoverySoapBinding">
location="http://localhost:8080/axis/services/InfotelService" />
Thanks in advance.--View this message in context: 
http://www.nabble.com/-AXIS2-WSDL2Java-doesn%27t-generate-WSDL%27s-method-in-stub.-t1489825.html#a4036973Sent from the Axis - User forum at Nabble.com.


[axis2 svn] wsdl2java choice unbounded

2006-04-22 Thread Diego

Hi Ajith,

first thanks for fixing the issue with the recursive datatypes.  I've 
been able to generate the code for the following wsdl.  But maybe there 
is a problem with the xsd:choice and unbounded number of maxOccurs.


My wsdl uses an xsd (http://www.ivoa.net/xml/VOTable/v1.1) that presents 
the following fragment which describes a table element that can have an 
arbitrary number of fields or params or groups.  The corresponding class 
generated doesn't have anymore the methods getFIELDArray(), 
getPARAMArray() and getGROUPArray() - those method were generated till 
axis2 v0.94 - or something analogous.  Am I doing something wrong?


Thanks very much!

Diego


fragment of xsd (http://www.ivoa.net/xml/VOTable/v1.1)


 
  
   

 
  
  
  
 


   
   
   
   
   
   
   
  
 

 
  
   


 



















































 



  



   



   



   



   



  



 







   



 


   wsdl file



http://astrodas.org/ws/peer";
xmlns:tns="http://astrodas.org/ws/peer";
   xmlns:tns1="http://astrodas.org/ws/model";
   xmlns:tns2="http://www.ivoa.net/xml/VOTable/v1.1";
   xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>

 
  targetNamespace="http://astrodas.org/ws/model";>

   http://www.w3.org/2001/XMLSchema"; />
   
   http://www.ivoa.net/xml/VOTable/v1.1"; 
schemaLocation="http://www.ivoa.net/xml/VOTable/v1.1"; />

   
   

 type="xsd:integer" />
 type="xsd:integer" />
 type="xsd:string" />
 type="xsd:boolean" />


   
   

 type="xsd:integer" />
 type="xsd:string" />
 type="xsd:string" />
 type="xsd:string" />


   
   

 
  
   name="external-object" type="tns1:external-object" />
   type="xsd:string" />
   name="reliability" type="xsd:float" />
   type="xsd:double" />
  type="xsd:double" />

  
 

   
   

 
  name="mapping-annotation" type="tns1:mapping-annotation" />

 

   
   

 
  type="xsd:int" />

 

   
   
   

 
  type="xsd:string" />

 

   
   

 
  
 

   
  
 

 
 
  
 
 
  
 
 
 
  
 
 
  element="tns1:executeGlobalMappingTableQueryResponse" />

 

 
  
   Stores an array of annotations in the annotation 
backend database

   
   
  
  
   Executes a query on the global mapping table of 
the p2p network of annotation

   
   message="tns:executeGlobalMappingTableQueryResponseMessage" />

  
 

 
  http://schemas.xmlsoap.org/soap/http"; 
style="document" />

  
   
   

   
   

   
  
  
   
   

   
   

   
  
 

 
  
   location="http://localhost:8080/axis2/services/astrodas-peer"; />

  
 




No serializer found for class org.apache.axis.attachments.OctetStream in registry org.apache.axis.encoding.TypeMappingDelegate

2006-04-22 Thread Neil Aggarwal
Hello:

When I submit an XML feed to the Amazon Web services using Axis 1.3, 
I get this error:

Caused by: java.io.IOException: No serializer found for class
org.apache.axis.attachments.OctetStream in registry
[EMAIL PROTECTED]
at
org.apache.axis.encoding.SerializationContext.serializeActual(SerializationC
ontext.java:1505)
at
org.apache.axis.encoding.SerializationContext.serialize(SerializationContext
.java:978)
at
org.apache.axis.encoding.SerializationContext.serialize(SerializationContext
.java:799)
at org.apache.axis.message.RPCParam.serialize(RPCParam.java:208)
at
org.apache.axis.message.RPCElement.outputImpl(RPCElement.java:433)
at
org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:139)
at
org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478)
at
org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)

Can someone help me understand what this means?

Thanks,
Neil

--
Neil Aggarwal, JAMM Consulting, (214) 986-3533, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.JAMMConsulting.com 



Re: log4j warnings

2006-04-22 Thread Jan Krumsiek
Your web service would still run. This is just a warning. if you bring 
mail.jar and activation.jar to the classpath you should not see this. how 
ever it would be required only if you want support for attachment.


Okay but is there a way to get rid of this warning? I would like to have a 
clean stderr for my program.


Regards,
Jan 



Re: log4j warnings

2006-04-22 Thread Shantha Kumar
Your web service would still run. This is just a warning. if you bring 
mail.jar and activation.jar to the classpath you should not see this. 
how ever it would be required only if you want support for attachment.


thanks
SK


log4j warnings

2006-04-22 Thread Jan Krumsiek



I'm currently developing a Axis webservice client. I do not include the 
log4j JAR in the classpath as the programs works fine without it. A warning is 
printed to stderr though:21.04.2006 14:46:48 
org.apache.axis.utils.JavaUtils isAttachmentSupportedWARNING: Unable to find 
required classes (javax.activation.DataHandler and 
javax.mail.internet.MimeMultipart). Attachment support is disabled.I 
don't know how to get rid of this as I have to access to the "Logger" class to 
set the warning level. Any ideas?Regards, Jan