Re: Wrong namespace in the response??

2003-10-01 Thread vairamuthu thayapavan



hi
i think ur wsdl has the targetname space uri 
'http://axis.test.soap' as in following wsdl target namespace uri "http://soap.bookshop.com.
 


usually WSDL2Java tool generate the class package 
structure according to this targetname space uri and i think this uri 
remains in  response.
regards
vtpavan
([EMAIL PROTECTED])
- Original Message - 
From: "Denero Watz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 30, 2003 10:03 
PM
Subject: Wrong namespace in the 
response??
> I have deployed a service in axis 
and the classes as> listed below. I have also attached a part from 
the> wsdl file and the actual response. My querstion is why> the 
name space for 'testComplexTypeReturn' in the> reponse is 
'http://axis.test.soap'??. As per the> namespace definition for the 
output in the wsdl file,> it should be> http://localhost:8080/axis/services/ComplexType1ServiceDoc,> right??> > Can someone correct me if 
my understanding is wrong?> > WSDL File:> 
--> ...> ...> > 
type="intf:ComplexType1Service">>   > transport="http://schemas.xmlsoap.org/soap/http" /> 
> >   
 > >   > use="literal" /> >   
> >   > 
namespace="http://localhost:8080/axis/services/ComplexType1ServiceDoc"> 
use="literal" /> >   >   
> > ...> 
...> > Response from Axis after exceuting this service> 
---> > > 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">> 
 >   > 
xmlns="http://axis.test.soap">>    This is a 
string type>    
50>    This is a 
string type>    
50>   
>  > 
> > > Source Files> 
-> public class ComplexType1Service {> > 
    public ComplexType1 testComplexType() {> 
    ComplexType1 ct1 = new 
ComplexType1();>     return 
ct1;>     }> > }> > > 
public class ComplexType1 {> >     public String 
m_data1 = "This is a string type";> >     public 
int m_data2 = 50;> >     public String getData1() 
{>     return m_data1;> 
    }> >     public void 
setData1(String data1) {>     
m_data1 = data1;>     }> > 
    public int getData2() {> 
    return m_data2;> 
    }> >     public void 
setData2(int data2) {>     m_data2 
= data2;>     }> > }> > 
> > __> Do you 
Yahoo!?> The New Yahoo! Shopping - with improved product search> 
http://shopping.yahoo.com> 
> 



Re: web service configuration

2003-10-01 Thread Guillaume Sauthier
The init-param tag doesn't look like the one U are using !
Real one :

 Param_name
 Param_Value


Do not use  tag with attributes ! The XML you produced is
not DTD conformant.

Regards

Guillaume

Uli Magsaam wrote:
> 
> Hi,
> 
> I try to write a little web service using AXIS. Everything works fine
> but now I want to configure my web service by parsing the name of a
> configuration file to it. To get this name of the configuration file I
> tried the following in my implementation file (...SoapBindingImpl.java:
> HttpServlet httpServlet =
> (HttpServlet)MessageContext.getCurrentContext().getProperty(
> HTTPConstants.MC_HTTP_SERVLET );
> ServletContext servletContext = httpServlet.getServletContext();
> configFile = servletContext.getInitParameter( "configFile" );
> 
> I put the initialization parameter 'configFile' in the web.xml file but
> when I try to read it, I always receive NULL.
> 
> My web.xml file is here (I put the init-param tag in all servlets
> because I don't know which one is used):
> 
> 
> 
>   PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
>  "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd";>
> 
> 
>Apache-Axis
>
>  AxisServlet
>  Apache-Axis Servlet
>  
>  org.apache.axis.transport.http.AxisServlet
>  
>  
>
> 
>
>  AdminServlet
>  Axis Admin Servlet
>  
>  org.apache.axis.transport.http.AdminServlet
>  
>  100
>  
>
> 
>
>  SOAPMonitorService
>  SOAPMonitorService
>  
>  org.apache.axis.monitor.SOAPMonitorService
>  
>  
>SOAPMonitorPort
>5001
>  
>  100
>  
>
> 
>
>  AxisServlet
>  /servlet/AxisServlet
>
> 
>
>  AxisServlet
>  *.jws
>
> 
>
>  AxisServlet
>  /services/*
>
> 
>
>  SOAPMonitorService
>  /SOAPMonitor
>
> 
>   
>   
>
>  index.html
>  index.jsp
>  index.jws
>
> 
> 
> 
> Many thanks for any hint
> 
> Ulrich Magsaam


Problem during testing HappyAxis

2003-10-01 Thread VINEETARORA
Hi !

I am getting this error when i run HappyAxis even though file size and
classpath is set correctly. Please help .

could not find class org.apache.log4j.Layout from file log4j-1.2.8.jar



Rgds
Vineet Arora
Development Manager
DID - 68673244



ssl und webservice

2003-10-01 Thread Akacem Mohammed
Hello,

does anybody knows about a mailing list about ssl


thanks 

Mohammed


iPlanet Web Server Installation Issues

2003-10-01 Thread Michael Joseph
Hi,

I'm attempting to setup Axis 1.1 in the iPlanet Web Server (v6.0 on Windows)
J2EE Container (Servlet 2.2 compliant).
I package the axis web-app as a WAR (/webapps/axis) and use the wdeploy
utility to deploy it:

$IWS_SERVER_HOME/bin/https/httpadmin/bin/wdeploy.bat deploy -u /axis -i
michael.jamwarehouse.com -v https-michael.jamwarehouse.com -d
"c:\iPlanet\Servers\https-michael.jamwarehouse.com\web-apps\axis"
"C:\java\axis-1_1\webapps\axis\axis.war"

I get the following error in the webserver error logs:

[01/Oct/2003:12:08:42] info ( 140): Adding web application (/axis) at
(C:/iPlanet/Servers/https-michael.jamwarehouse.com/web-apps/axis)
[01/Oct/2003:12:08:43] info ( 140): Loading IWSSessionManager by default.
[01/Oct/2003:12:08:43] info ( 140): IWSSessionManager: Maximum number of
sessions is 1000
[01/Oct/2003:12:08:43] failure ( 140):  Internal error: Unexpected error
condition thrown (java.lang.ExceptionInInitializerError,no description),
stack: java.lang.ExceptionInInitializerError:
org.apache.commons.logging.LogConfigurationException:
java.lang.reflect.InvocationTargetException
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.ja
va:532)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.ja
va:272)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:414)
at org.apache.axis.components.logger.LogFactory.getLog(LogFactory.java:76)
at
org.apache.axis.transport.http.AxisServlet.(AxisServlet.java:103)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:124)
at
org.apache.axis.transport.http.AxisServletBase.class$(AxisServletBase.java:9
5)
at
org.apache.axis.transport.http.AxisServletBase.(AxisServletBase.java
:94)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:241)
at
com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEn
tity.java:71)
at com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java,
Compiled Code)
at com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java,
Compiled Code)
at
com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java:
686)

Has anyone used Axis with iPlanet before?  The log4j.properties and
simplelog.properties in the WAR are the default ones shipped with Axis 1.1.

thanks
michael



How to map EJB exception tree to AxisFaults

2003-10-01 Thread jaccoud

Greetings.

In order to have a service exposed both as an EJB and a web service, I have
succesfully deployes a stateless session bean through Axis. The methods
were mapped correctly, although I will probably have to write a WSDL by
hand -- parameter names were not exported, and there seems to be no way to
export usefull anotations to the WSDL file.
However, I am stuck with a problem I forgot to consider initially. Whenever
I write the service as a simple class, I am able to create AxisFaults (or
an object from some subclass) manually to provide the client with usefull
error codes and messages. In the EJB scenario, how can I map the bean
exception hierarchy to an equivalent SOAPFault tree? All I get by default
are wrapped RemoteExceptions, always inside a Server.userException, which
are almost impossible to distinguish in the client. Something like this:

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: java.rmi.RemoteException: EJB Exception:; nested exception
is:
  java.rmi.RemoteException: Cliente não cadastrado
 faultActor:
 faultNode:
 faultDetail:
  {http://xml.apache.org/axis/}stackTrace: AxisFault...
[and the stack trace goes on and on for about more 80 lines]

It doesn't seem reasonable to use AxisFault derivates in the EJB (or does
it)? Will I need to write a response chain handler to somehow change the
wrapped exception into an appropriate AxisFault? Is there any other way to
get this mapping straight without having to write a façade class and deploy
this façade as the service, calling the bean in the back? I was avoiding
exactly this in the first place, trying to have just one code. Maybe some
type of mapping in the wsdd?

I would be thankful for any income from someone which came across a similar
problem in the past.

Cheers.

=
Marcelo Jaccoud Amaral
Petrobras - IT - e-business development
mailto:jaccoud [at] petrobras.com.br
=
There are only 10 kinds of people in the world: those who understand binary
and those who don't.





Error deploying Admin Servlet

2003-10-01 Thread Matthew Britton
Hi,
When i start my server and try to deploy the Axis AdminServlet in WebSphere, I get an error like this:
 
Servlet Error-[AdminServlet]: Failed to load servlet: java.lang.ExceptionInInitializerError: org.apache.commons.logging.LogConfigurationException: java.lang.reflect.InvocationTargetException
    at org.apache.commons.logging.impl.LogFactory.newInstance(LogFactoryImpl.java:532)
    at org.apache.commons.logging.impl.LogFactory.getInstance(LogFactoryImpl.java:272)
    at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:414)
    at org.apache.axis.components.logger.LogFactory.getLog(LogFactory.java:76)
    at org.apache.axis.transport.http.AxisServlet.(AxisServlet.java:103)
    at ..
 
I've got log4j-1.2.8, but i've tried it with log4j-1.3.1 aswell and neither seem to work...
 
Thanks
 
MattMake your messages more exciting with  MSN Messenger V6. Download it for FREE today!


Error deploying Admin Servlet

2003-10-01 Thread Matthew Britton
Hi,
When i start my server and try to deploy the Axis AdminServlet in WebSphere, I get an error like this:
 
Servlet Error-[AdminServlet]: Failed to load servlet: java.lang.ExceptionInInitializerError: org.apache.commons.logging.LogConfigurationException: java.lang.reflect.InvocationTargetException
    at org.apache.commons.logging.impl.LogFactory.newInstance(LogFactoryImpl.java:532)
    at org.apache.commons.logging.impl.LogFactory.getInstance(LogFactoryImpl.java:272)
    at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:414)
    at org.apache.axis.components.logger.LogFactory.getLog(LogFactory.java:76)
    at org.apache.axis.transport.http.AxisServlet.(AxisServlet.java:103)
    at ..
 
I've got log4j-1.2.8, but i've tried it with log4j-1.3.1 aswell and neither seem to work...
 
Thanks
 
MattHave more fun with your mobile - add polyphonic ringtones, java games, celebrity voicemails and loads more!  Click here for phone fun. 


Re: Problem during testing HappyAxis

2003-10-01 Thread matthew_f_hamburger

Vineetarora,

Make sure you have log4j-1.2.8.jar in your classpath, maybe put it in the
lib directory of your webapp.


Matt Hamburger
Bank One  Corporate Internet Group
[EMAIL PROTECTED]
614.244.5009





VINEETARORA <[EMAIL PROTECTED]> on 10/01/2003 04:49:33 AM

Please respond to [EMAIL PROTECTED]



To:   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:

Subject:  Problem during testing HappyAxis



Hi !

I am getting this error when i run HappyAxis even though file size and
classpath is set correctly. Please help .

could not find class org.apache.log4j.Layout from file log4j-1.2.8.jar



Rgds
Vineet Arora
Development Manager
DID - 68673244





This transmission may contain information that is privileged, confidential and/or 
exempt from disclosure under applicable law. If you are not the intended recipient, 
you are hereby notified that any disclosure, copying, distribution, or use of the 
information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. 
If you received this transmission in error, please immediately contact the sender and 
destroy the material in its entirety, whether in electronic or hard copy format. Thank 
you.



Autogenerated WSDL

2003-10-01 Thread jaccoud
Hi.

I am having some trouble with Axis' autogenerated WSDL - it seems to always
invent a wrong namespace for the response message. It dos that for all
services deployed.

For example, the Version service that comes with Axis expects a request
message (SOAP body) in the "http://axis.apache.org"; namespace and returns a
response in the same namespace. However, when asked for the WSDL, Axis
returns this in the binding section:

  
 http://schemas.xmlsoap.org/soap/http"/>
 
   
   
  http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://axis.apache.org"; use="encoded"/>
   
   
  http://schemas.xmlsoap.org/soap/encoding/";
namespace="
http://p6000bi701.petrobras.biz:7001/bolero/services/Version"; use="encoded
"/>
   
 
  

Note the reques namespace: for some unkonwn reason, it contains the URL of
the deployed service, instead of the correct value, which, for this
service, is the same namespace as in the request.

I see that it is possible to provide a manually written WSDL of my own, but
since that affects all services, isn't there a way to fix this through some
deployment parameter? I tried providing the service with a namespace in the
server-config.wsdd, but the result is the same.

Or  is this a bug?

Thanks in advance.

=
Marcelo Jaccoud Amaral
Petrobras - TI - Negócios Eletrônicos
mailto:jaccoud [at] petrobras.com.br
voice: +55 21 2534-3485
fax: +55 21 2534-1809
=
There are only 10 kinds of people in the world: those who understand binary
and those who don't.





RE: problems with setting soapAction to method name

2003-10-01 Thread Wermus Fernando
I´m a newbie, but I give you my javascript client code, my be it could help.





function enviar(){
var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP.4.0");
xmlhttp.open("POST",
"http://127.0.0.1:8080/axis/Calculator.jws",true);

xmlhttp.onreadystatechange=function() {
if (xmlhttp.readyState==4) {
   alert(xmlhttp.responseText)
}
}
xmlhttp.setRequestHeader("Content-Type", "text/xml")
xmlhttp.setRequestHeader("User-Agent", "XML Spy")
xmlhttp.setRequestHeader("SOAPAction", "''")
xmlhttp.setRequestHeader("Host", "127.0.0.1")
xmlhttp.setRequestHeader("Cache-Control", "no-cache")
//Content-Length: 469

var miSoap='http://schemas.xmlsoap.org/soap/envelope/";
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>http://DefaultNamespace";>45'
xmlhttp.send(miSoap);

}










Re: about complex types (newbie)

2003-10-01 Thread Adhamh Findlay
Wermus,

It sounds like you need to turn this xml file into a java class, and make
this class the argument.  If this class is a bean, then you can serialize
the class and pass it back and forth.

Adhamh

On 9/30/03 1:30 PM, "Wermus Fernando" <[EMAIL PROTECTED]> wrote:

> I have a method that it has as argument a complex type. It´s a xml file
> validated by a schema.
> 
> Wich java type can I use for the schema?
> 
> If I use a string type, It could be too long for that type. Besides I can't
> validate against the schema.
> 
> Any help for this newbie, I'll be welcome.
> 
> 
> Bye!
> 



RE: about complex types (newbie)

2003-10-01 Thread Wermus Fernando
I mean I have an xml as argument and I have a schema for the validation. How
can I make a class that accept these types of arguments.

-Mensaje original-
De: Adhamh Findlay [mailto:[EMAIL PROTECTED] 
Enviado el: miércoles, 01 de octubre de 2003 9:14
Para: [EMAIL PROTECTED]
Asunto: Re: about complex types (newbie)

Wermus,

It sounds like you need to turn this xml file into a java class, and make
this class the argument.  If this class is a bean, then you can serialize
the class and pass it back and forth.

Adhamh

On 9/30/03 1:30 PM, "Wermus Fernando" <[EMAIL PROTECTED]> wrote:

> I have a method that it has as argument a complex type. It´s a xml file
> validated by a schema.
> 
> Wich java type can I use for the schema?
> 
> If I use a string type, It could be too long for that type. Besides I
can't
> validate against the schema.
> 
> Any help for this newbie, I'll be welcome.
> 
> 
> Bye!
> 


RE: Axis using wrong encoding for array in Doc/literal

2003-10-01 Thread Gupta, Ankit
Thank You Anne for your reply.
After this I tried out defining the array in the wsdl in the same way as 
axis is sending the response on wire and the web service worked with .NET
But now axis generates wrong client stubs from the wsdl


My java Class is
-
service1.java
--
public class service1 {
public bean1 returnarr() {
bean1 a=new bean1();
int[] b=new int[3];
b[0]=1;
b[1]=2;
b[2]=3;
a.setMyArr(b);
a.setA(6);
return a;
}
public int[] echo() {
int[] a=new int[2];
a[0]=1;
a[1]=2;
return a;
}
}



My Wsdl that I send to .net is

In this wsdl I have fixed the echo method to have exactly the same signature as axis
sends arrays back on wire
---
Wsdl
---
   
- http://DefaultNamespace"; 
xmlns="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:apachesoap="http://xml.apache.org/xml-soap"; xmlns:impl="http://DefaultNamespace"; 
xmlns:intf="http://DefaultNamespace"; 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
- 
- http://DefaultNamespace"; 
xmlns="http://www.w3.org/2001/XMLSchema";>
- 
- 
- 
   
  
  
  
- 
- 
   
   
  
  
- 
   
  
- 
- 
- 
   
  
  
  
- 
   
  
- 
- 
- 
   
  
  
  
- 
- 
   
  
  
  
- http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns="http://www.w3.org/2001/XMLSchema";>
- 
- 
   
  
  
   
  
  
- 
   
  
- 
   
  
- 
   
  
- 
   
  
- 
- 
   
   
  
- 
   
   
  
  
- 
  http://schemas.xmlsoap.org/soap/http"; 
/> 
- 
   
- 
  http://DefaultNamespace"; use="literal" /> 
  
- 
  http://DefaultNamespace"; use="literal" /> 
  
  
- 
   
- 
  http://DefaultNamespace"; use="literal" /> 
  
- 
  http://DefaultNamespace"; use="literal" /> 
  
  
  
- 
- 
  http://127.0.0.1:8080/axis/services/service1"; /> 
  
  
  




-
Response on wire
--
?xml version="1.0" encoding="UTF-8"?>
http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
 
  http://DefaultNamespace";>
   http://schemas.xmlsoap.org/soap/encoding/";>
1
2
   
  
 




And finally the .NET Client works
The problem now is that the client stubs generated with this wsdl for axis are 
incorrect

---
Client stub for axis
---
/**
 * Service1.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis 1.2dev Aug 18, 2003 (10:57:46 IST) WSDL2Java emitter.
 */

package DefaultNamespace;

public interface Service1 extends java.rmi.Remote {
public DefaultNamespace.Bean1 returnarr() throws java.rmi.RemoteException;
public org.xmlsoap.schemas.soap.encoding.EchoReturn echo() throws 
java.rmi.RemoteException;
}
-
Echoreturn.java
---
/**
 * EchoReturn.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis 1.2dev Aug 18, 2003 (10:57:46 IST) WSDL2Java emitter.
 */

package org.xmlsoap.schemas.soap.encoding;

public class EchoReturn  implements java.io.Serializable {
private int[] item;

public EchoReturn() {
}

public int[] getItem() {
return item;
}

public void setItem(int[] item) {
this.item = item;
}

public int getItem(int i) {
return item[i];
}

public void setItem(int i, int value) {
this.item[i] = value;
}

private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof EchoReturn)) return false;
EchoReturn other = (EchoReturn) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true && 
((this.item==null && other.getItem()==null) || 
 (this.item!=null &&
  java.util.Arrays.equals(this.item, other.getItem(;
__equalsCalc = null;
return _equals;
}

private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__ha

Maximum size of a SOAP message

2003-10-01 Thread Michael D. Spence
How large a message can Axis/Tomcat cope with?  I'm returning a user-defined
type which includes an array of another user-defined type and which can get
quite large.  It works great for, say, 1000 or 2000 elements, but I get an
Axis
Fault with "500 Internal Server Error" for large numbers of elements (> 3000
or 4000,
for example).


Michael D. Spence
Mockingbird Data Systems, Inc.



help on mapping

2003-10-01 Thread Tania Durán



hi all,
 
I´m having problems on serializing/deserializing 
beans and don´t know what´s happening. The thing is that I have a 
service which returns an arrayList of beans. The client´s code that invokes 
the services is:
 
QName qn = new 
QName("urn:ReportService","Bioentity");call.registerTypeMapping(ArrayList.class, 
XMLType.SOAP_ARRAY, new 
ArraySerializerFactory(), new 
ArrayDeserializerFactory());call.registerTypeMapping(samples.tania.Bioentity.class, 
qn,    
new 
org.apache.axis.encoding.ser.BeanSerializerFactory(samples.tania.Bioentity.class, 
qn),new 
org.apache.axis.encoding.ser.BeanDeserializerFactory(samples.tania.Bioentity.class, 
qn));call.addParameter("name",XMLType.XSD_STRING,ParameterMode.IN);call.addParameter("id",XMLType.XSD_STRING,ParameterMode.IN);call.setReturnType(XMLType.SOAP_ARRAY);
...
ArrayList list = (ArrayList)call.invoke(new 
QName("doService"),new Object[]{name, id});
 
and the wsdd file i´m using to deploy the services 
is:
 
http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> 
 
 
... no idea what´s happening here but it doesn´t 
work. The exception I get is:
 
org.xml.sax.SAXException: No 
deserializer for 
{ServiceController}Bioentity    at 
org.apache.axis.encoding.DeserializerImpl.onStartElement(DeserializerImpl.java:485)    
at 
org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:428)
 
 
Any help will be welcome. 
Thanks, Tania.
 
 


deserialization of xml string

2003-10-01 Thread thuh

Hello all,

I'm having problems bypassing the servlet and deserializing an XML string using 
the axis libraries.  I was able to serialize the data, but the deserialization 
posed more of a problem.

In the code snippet below I'm able to serialize the object into an XML string.  
I am then unable to take that same string and de-serialize it.

Any ideas would be appreciated.

-mike

--

+class Datasheet {
  ArrayList[] entities;
  ArrayList[] attribs;
}


// 
try {

	Service service = new Service();			
	call = (Call) service.createCall();
	
	for (int i = 0; i < qnames.length; i++) {
		QName qname = qnames[i];
		//get the local part of the qname 
		String localPart = qname.getLocalPart();
		//need the class for registration
		Class theClass =
			Class.forName("my.org.webservice.model." + localPart);

		if (localPart.equals("EntityKeys")) {
			//register the types for serialization / deserialization
			call.registerTypeMapping(
theClass,
qname,
new EnumSerializerFactory(theClass, qname),
new EnumDeserializerFactory(theClass, qname));
		} else {
			//register the types for serialization / deserialization
			call.registerTypeMapping(
theClass,
qname,
new BeanSerializerFactory(theClass, qname),
new BeanDeserializerFactory(theClass, qname));
		}
	}
	
	String strT = null;
	StringWriter writer = new StringWriter();
	SerializationContext context = new SerializationContextImpl(writer, 
		call.getMessageContext());
	context.setDoMultiRefs(false);
	context.setPretty(true);
	//do the actual serialization
	context.serialize(qnames[2], new 
		org.xml.sax.helpers.AttributesImpl(), sheet);
	//flush the stream
	writer.flush();	
	//return the string
	strT = writer.toString();	
	
	// + Serialization of "sheet" of type Datasheet 
// works wonderfully.		
	// + Deserialization creates an an empty Datasheet object.
	
	// seems like top level object needs to be "Envelope"
	putInSoapEnvelope(strT);
	
	// Put string into a Stream
	ByteArrayInputStream s =
		new ByteArrayInputStream(strT.getBytes());
	inputSource = new InputSource(s);

	DeserializationContext context =
		new DeserializationContextImpl(
			inputSource,
			call.getMessageContext(),
			"Datasheet");	
			
	context.parse();
	
	while (!context.isDoneParsing());
	
	((DeserializationContextImpl)context).startElement
			(namespace, "Envelope", "Envelope", )			
			
	
	Class dataSheetClass = Class.forName
		("my.org.webservice.model.Datasheet");
	Deserializer deserializer = 
		context.getDeserializer(dataSheetClass, qnames[2]);
		
	deserializer.startElement(namespace, "Datasheet", "Datasheet", 
		new AttributesImpl(), context);
	
	ds = (Datasheet)deserializer.getValue();

} catch (Exception e) {
	e.printStackTrace();
}
games.inbox.lv - Mario, Car Racer, Tetris, Pool, Chess and 1000s of FREE games!
Hey, click, play!


problem in overriding the default array serializer by custom serializer

2003-10-01 Thread Agarwal, Naresh



Hi
 
I'm trying to use my 
own custom serializer for array data type (array of int) in 
AXIS.
 
For this I'm 
defining the typeMapping in wsdd file as follows:
 
---


xmlns:ns="http://DefaultNamespace"
qname="ns:ArrayOfint"
type="java:int[]"
serializer="myArrSer.ArraySerializerFactory"
deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory"
/>
--
 
I'm able to deploy 
the service, but still AXIS is using it's default serializer for array and my 
custom serialize is _NOT_ being used.
 
I'm calling a 
function of the webservice, which returns an array of int.
 
Am I missing 
something?
 
thanks,
Naresh
 
 
 
 
 


soapAction & WSDD

2003-10-01 Thread William Wen
Is there a way to specify soapAction in the wsdd?


I need to identify the client

2003-10-01 Thread Wermus Fernando








I was thinking in idenfying my client with two methods 

 

 

String login(String
user, String pass)

bool logOut(String id)

 

And I need the id in the
whole messages. I know that this "session id" should be in the soap:header.

I 've
read this in msdn but, I don't know how to do
this.

 

I wanna
know what methods you implement to solve this

 

 

http://msdn.microsoft.com/library/default.asp?url="">

 

The Header element, like the
Body element, is a generic container for control information. It may contain
any number of elements from any namespace (other than the SOAP namespace). Elements
placed in the Header element are referred to as header blocks. As with other protocols, header blocks should
contain information that influences payload processing. Hence, this is the
right place to put something like a credentials element that helps control
access to the operation:

        dave   evad  s:credentials> soap:Header>

 

 








RE: help on mapping

2003-10-01 Thread Gary L Peskin
Title: Message



It looks like your 
actual service is returning a
 
  {ServiceController}Bioentity
 
 

rather than 
a
 

  {urn:ServiceController}Bioentity
 
 

HTH,
Gary  

-Original Message-From: 
Tania Durán [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 
01, 2003 8:09 AMTo: [EMAIL PROTECTED]Subject: help 
on mapping

  hi all,
   
  I´m having problems on serializing/deserializing 
  beans and don´t know what´s happening. The thing is that I have a 
  service which returns an arrayList of beans. The client´s code that 
  invokes the services is:
   
  QName qn = new 
  QName("urn:ReportService","Bioentity");call.registerTypeMapping(ArrayList.class, 
  XMLType.SOAP_ARRAY, new 
  ArraySerializerFactory(), new 
  ArrayDeserializerFactory());call.registerTypeMapping(samples.tania.Bioentity.class, 
  qn,    
  new 
  org.apache.axis.encoding.ser.BeanSerializerFactory(samples.tania.Bioentity.class, 
  qn),new 
  org.apache.axis.encoding.ser.BeanDeserializerFactory(samples.tania.Bioentity.class, 
  qn));call.addParameter("name",XMLType.XSD_STRING,ParameterMode.IN);call.addParameter("id",XMLType.XSD_STRING,ParameterMode.IN);call.setReturnType(XMLType.SOAP_ARRAY);
  ...
  ArrayList list = (ArrayList)call.invoke(new 
  QName("doService"),new Object[]{name, id});
   
  and the wsdd file i´m using to deploy the 
  services is:
   
  http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> 
   
   
  ... no idea what´s happening here but it doesn´t 
  work. The exception I get is:
   
  org.xml.sax.SAXException: No 
  deserializer for 
  {ServiceController}Bioentity    at 
  org.apache.axis.encoding.DeserializerImpl.onStartElement(DeserializerImpl.java:485)    
  at 
  org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:428)
   
   
  Any help will be welcome. 
  Thanks, Tania.
   
   


ComplexType Array

2003-10-01 Thread Cobble, Tim
Title: ComplexType Array






All,

I feel I am asking a repeated question so I apologize.

How do I return an array of my custom complex type? I always get a null pointer exception.

I have read that I need to write my own custom serializer/deserializer class.  Is this the case?  I can not find an example anywhere on the web.  Can anyone provide just the simplest of examples?

If this is not the case and I am just missing something small, below is the test code I have been using with the Deployment Descriptor.

Thanks for your help

//-C O M P L E X   T Y P E 

//

public class TestArray

{

  public TestArray(){}

  public TestArray(int inInt1, int inInt2)

  {

    attr1 = inInt1;

    attr2 = inInt2;

  }

  protected int attr1;

  protected int attr2;

  public void setAttr1(int inInt){attr1 = inInt;}

  public void setAttr2(int inInt){attr2 = inInt;}

  public int getAttr1(){return attr1;}

  public int getAttr2(){return attr2;}

}

//---W E B    S E R V I C E--

//

import java.util.*;

public class WebS1

{

  public TestArray [] MyWS()

  {

    TestArray[] ta = new TestArray[10];

    

    for (int i =0; i < 10; i++)

    {

  ta[i] = new TestArray(i,i);

    }

    

    return ta;

  }

}

//  D D ---

//

http://xml.apache.org/axis/wsdd/"

    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

  

    

    



  




//--  W S D L 

//



http://localhost:8080/axis/services/TimsWS" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost:8080/axis/services/TimsWS" xmlns:intf="http://localhost:8080/axis/services/TimsWS" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="urn:BeanService" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema">http://schemas.xmlsoap.org/soap/encoding/"/>http://localhost:8080/axis/services/TimsWS" xmlns="http://www.w3.org/2001/XMLSchema">http://schemas.xmlsoap.org/soap/encoding/"/>

  

    

  

  

  

  

    

  

  

    

  

  

    http://schemas.xmlsoap.org/soap/http"/>

    

  

  

    http://schemas.xmlsoap.org/soap/encoding/" namespace="http://DefaultNamespace" use="encoded"/>

  

  

    http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/axis/services/TimsWS" use="encoded"/>

  

    

  

  

    

  http://localhost:8080/axis/services/TimsWS"/>

    

  






RE: about complex types (newbie)

2003-10-01 Thread Cory Cobler
You should just be able to pass the XML and DTD in as Files through the
arg and have your xml parse do the validation on the other side. It has
been a long time since I had to do this, but this is the route I would
take.

You could send the xml files through the web service as attachments. Or
even buffer it out to a string.

I may be way off but just my thoughts :-)

-Original Message-
From: Wermus Fernando [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 01, 2003 9:27 AM
To: [EMAIL PROTECTED]
Subject: RE: about complex types (newbie)

I mean I have an xml as argument and I have a schema for the validation.
How
can I make a class that accept these types of arguments.

-Mensaje original-
De: Adhamh Findlay [mailto:[EMAIL PROTECTED] 
Enviado el: miércoles, 01 de octubre de 2003 9:14
Para: [EMAIL PROTECTED]
Asunto: Re: about complex types (newbie)

Wermus,

It sounds like you need to turn this xml file into a java class, and
make
this class the argument.  If this class is a bean, then you can
serialize
the class and pass it back and forth.

Adhamh

On 9/30/03 1:30 PM, "Wermus Fernando" <[EMAIL PROTECTED]>
wrote:

> I have a method that it has as argument a complex type. It´s a xml
file
> validated by a schema.
> 
> Wich java type can I use for the schema?
> 
> If I use a string type, It could be too long for that type. Besides I
can't
> validate against the schema.
> 
> Any help for this newbie, I'll be welcome.
> 
> 
> Bye!
> 



skeleton and its implementation

2003-10-01 Thread Jeff Guo
Hi, is there a way to dynamically pass a backend implementation in to a
skeleton class generated by wsdl2java?  In wsdd file, only the skeleton name
can be specified in the class attribute, but how do I use the second
skeleton constructor that takes a backend implementation.  Thanks,

Jeff




RE: about complex types (newbie)

2003-10-01 Thread [EMAIL PROTECTED]
Hi,

If you want to pass the XML document or valid XML element as the argument
to the web services then the part type for the message can be of xsd:any or
xsd:anyType in WSDL file. 
And for implmentation the argument type of the service has to be
org.apache.axis.types.Schema

e.g. void myService(org.apache.axis.types.Schema myxml)

If you try to use the the String you will get the illegal argument
exception.

hope this helps.

regards,
Shrikant Wagh
Optimyz Software, Inc.
"Making Software Robust"
Email: [EMAIL PROTECTED]
Web: www.optimyz.com

For more information about WebServiceTester product visit www.optimyz.com.



Original Message:
-
From: Cory Cobler [EMAIL PROTECTED]
Date: Wed, 1 Oct 2003 14:18:33 -0500
To: [EMAIL PROTECTED]
Subject: RE: about complex types (newbie)


You should just be able to pass the XML and DTD in as Files through the
arg and have your xml parse do the validation on the other side. It has
been a long time since I had to do this, but this is the route I would
take.

You could send the xml files through the web service as attachments. Or
even buffer it out to a string.

I may be way off but just my thoughts :-)

-Original Message-
From: Wermus Fernando [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 01, 2003 9:27 AM
To: [EMAIL PROTECTED]
Subject: RE: about complex types (newbie)

I mean I have an xml as argument and I have a schema for the validation.
How
can I make a class that accept these types of arguments.

-Mensaje original-
De: Adhamh Findlay [mailto:[EMAIL PROTECTED] 
Enviado el: miércoles, 01 de octubre de 2003 9:14
Para: [EMAIL PROTECTED]
Asunto: Re: about complex types (newbie)

Wermus,

It sounds like you need to turn this xml file into a java class, and
make
this class the argument.  If this class is a bean, then you can
serialize
the class and pass it back and forth.

Adhamh

On 9/30/03 1:30 PM, "Wermus Fernando" <[EMAIL PROTECTED]>
wrote:

> I have a method that it has as argument a complex type. It´s a xml
file
> validated by a schema.
> 
> Wich java type can I use for the schema?
> 
> If I use a string type, It could be too long for that type. Besides I
can't
> validate against the schema.
> 
> Any help for this newbie, I'll be welcome.
> 
> 
> Bye!
> 


mail2web - Check your email from the web at
http://mail2web.com/ .




RE: ComplexType Array

2003-10-01 Thread [EMAIL PROTECTED]
Hi,

If you use the array of uer defined complex types in your web service then
you will have to specify the typemapping for the complex type as well as
for array of the complex type.

The sample type mapping for using array of user defined types can be as
shoen below.

  http://schemas.xmlsoap.org/soap/encoding/";
qname="ns670:SOAPStruct"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
type="java:datainter.SOAPStruct" xmlns:ns670="http://soapinterop.org/xsd"/>
  http://schemas.xmlsoap.org/soap/encoding/";
qname="ns671:ArrayOfSOAPStruct"
serializer="org.apache.axis.encoding.ser.ArraySerializerFactory"
type="java:datainter.SOAPStruct[]"
xmlns:ns671="http://soapinterop.org/xsd"/>


And ofcourse you will have to write the class which refresent the complex
type. Write the interface and implementation and deploy the service using
wsdd. I'm sure you know rest of the drill.

You do not have to write any custom serializer, unless you really want to.

hope this helps.

regards,
Shrikant Wagh
Optimyz Software, Inc.
"Making Software Robust"
Email: [EMAIL PROTECTED]
Web: www.optimyz.com

For more information about WebServiceTester product visit www.optimyz.com.


Original Message:
-
From: Cobble, Tim [EMAIL PROTECTED]
Date: Wed, 01 Oct 2003 14:23:06 -0400
To: [EMAIL PROTECTED]
Subject: ComplexType Array


All,

I feel I am asking a repeated question so I apologize.
How do I return an array of my custom complex type? I always get a null
pointer exception.
I have read that I need to write my own custom serializer/deserializer
class.  Is this the case?  I can not find an example anywhere on the
web.  Can anyone provide just the simplest of examples?

If this is not the case and I am just missing something small, below is
the test code I have been using with the Deployment Descriptor.

Thanks for your help

//-C O M P L E X   T Y P E

//
public class TestArray
{
  public TestArray(){}
  public TestArray(int inInt1, int inInt2)
  {
attr1 = inInt1;
attr2 = inInt2;
  }

  protected int attr1;
  protected int attr2;

  public void setAttr1(int inInt){attr1 = inInt;}
  public void setAttr2(int inInt){attr2 = inInt;}

  public int getAttr1(){return attr1;}
  public int getAttr2(){return attr2;}
}

//---W E BS E R V I C
E--
//
import java.util.*;
public class WebS1

{
  public TestArray [] MyWS()
  {
TestArray[] ta = new TestArray[10];

for (int i =0; i < 10; i++)
{
  ta[i] = new TestArray(i,i);
}

return ta;
  }
}

//  D D
---
//
http://xml.apache.org/axis/wsdd/";
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
  



  



//--  W S D L

//

http://localhost:8080/axis/services/TimsWS";
xmlns="http://schemas.xmlsoap.org/wsdl/";
xmlns:apachesoap="http://xml.apache.org/xml-soap";
xmlns:impl="http://localhost:8080/axis/services/TimsWS";
xmlns:intf="http://localhost:8080/axis/services/TimsWS";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:tns1="urn:BeanService"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>http://www.w3.org/2001/XMLSchema";>http://schemas.xmlsoap.org/soap/encoding/"/>http://localhost:8080/axis/services/TimsWS";
xmlns="http://www.w3.org/2001/XMLSchema";>http://schemas.xmlsoap.org/soap/encoding/"/>
  

  
  
  
  

  
  

  
  
http://schemas.xmlsoap.org/soap/http"/>

  
  
http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://DefaultNamespace"; use="encoded"/>
  
  
http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://localhost:8080/axis/services/TimsWS"; use="encoded"/>
  

  
  

  http://localhost:8080/axis/services/TimsWS"/>

  




mail2web - Check your email from the web at
http://mail2web.com/ .




RE: iPlanet Web Server Installation Issues

2003-10-01 Thread Rick Kellogg
The following information might be of some help:

http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/SunOne


-Original Message-
From: Michael Joseph [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 01, 2003 6:21 AM
To: [EMAIL PROTECTED]
Subject: iPlanet Web Server Installation Issues

Hi,

I'm attempting to setup Axis 1.1 in the iPlanet Web Server (v6.0 on
Windows)
J2EE Container (Servlet 2.2 compliant).
I package the axis web-app as a WAR (/webapps/axis) and use the wdeploy
utility to deploy it:

$IWS_SERVER_HOME/bin/https/httpadmin/bin/wdeploy.bat deploy -u /axis -i
michael.jamwarehouse.com -v https-michael.jamwarehouse.com -d
"c:\iPlanet\Servers\https-michael.jamwarehouse.com\web-apps\axis"
"C:\java\axis-1_1\webapps\axis\axis.war"

I get the following error in the webserver error logs:

[01/Oct/2003:12:08:42] info ( 140): Adding web application (/axis)
at
(C:/iPlanet/Servers/https-michael.jamwarehouse.com/web-apps/axis)
[01/Oct/2003:12:08:43] info ( 140): Loading IWSSessionManager by
default.
[01/Oct/2003:12:08:43] info ( 140): IWSSessionManager: Maximum
number of
sessions is 1000
[01/Oct/2003:12:08:43] failure ( 140):  Internal error: Unexpected error
condition thrown (java.lang.ExceptionInInitializerError,no description),
stack: java.lang.ExceptionInInitializerError:
org.apache.commons.logging.LogConfigurationException:
java.lang.reflect.InvocationTargetException
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImp
l.ja
va:532)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImp
l.ja
va:272)
at
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:414)
at
org.apache.axis.components.logger.LogFactory.getLog(LogFactory.java:76)
at
org.apache.axis.transport.http.AxisServlet.(AxisServlet.java:103
)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:124)
at
org.apache.axis.transport.http.AxisServletBase.class$(AxisServletBase.ja
va:9
5)
at
org.apache.axis.transport.http.AxisServletBase.(AxisServletBase.
java
:94)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:241)
at
com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServl
etEn
tity.java:71)
at
com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java,
Compiled Code)
at
com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java,
Compiled Code)
at
com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.j
ava:
686)

Has anyone used Axis with iPlanet before?  The log4j.properties and
simplelog.properties in the WAR are the default ones shipped with Axis
1.1.

thanks
michael





Re: I need to identify the client

2003-10-01 Thread Dimuthu Leelarathne
Hi,

There are two ways you can do the authentication. You can use HTTP headers
to send user name/passWord or you can send it in a SOAP header.

You can use whatever you prefer.

1)  When it comes to HTTP you can set these HTTP-headers with a comand on
client side as
  call.setUserName(user)
  call.setPassword(pass)

Then the authentication can be done at TomCat level( not sure how to do
this) or using handlers. If I have to do it I will write a handler and put
it into the request flow.

In this handler I can get user name and password from the messageContext
that is passed into the
invoke(MessageContext msg) method of the handler.

2) If you chose to authentication using soap headers you can add a soap
header as call.addHeader  and authenticate using handlers. In thiscase you
would have to get headers from the messageContext and read the header
yourself

Cheers,
Dimuthu.


- Original Message -
From: Wermus Fernando
To: [EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 10:12 PM
Subject: I need to identify the client


I was thinking in idenfying my client with two methods


String login(String user, String pass)
bool logOut(String id)

And I need the id in the whole messages. I know that this "session id"
should be in the soap:header.
I 've read this in msdn but, I don't know how to do this.

I wanna know what methods you implement to solve this


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsoap/html
/understandsoap.asp

The Header element, like the Body element, is a generic container for
control information. It may contain any number of elements from any
namespace (other than the SOAP namespace). Elements placed in the Header
element are referred to as header blocks. As with other protocols, header
blocks should contain information that influences payload processing. Hence,
this is the right place to put something like a credentials element that
helps control access to the operation:
http://schemas.xmlsoap.org/soap/envelope/";>
 
  
  
   dave
   evad
  
 






Re: ComplexType Array

2003-10-01 Thread Dimuthu Leelarathne
ComplexType ArrayTim

Check out this bug;

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15384

Regards,
Dimuthu.

- Original Message -
From: Cobble, Tim
To: [EMAIL PROTECTED]
Sent: Thursday, October 02, 2003 12:23 AM
Subject: ComplexType Array


All,
I feel I am asking a repeated question so I apologize.
How do I return an array of my custom complex type? I always get a null
pointer exception.
I have read that I need to write my own custom serializer/deserializer
class.  Is this the case?  I can not find an example anywhere on the web.
Can anyone provide just the simplest of examples?
If this is not the case and I am just missing something small, below is the
test code I have been using with the Deployment Descriptor.
Thanks for your help
//-C O M P L E X   T Y P
E 
//
public class TestArray
{
  public TestArray(){}
  public TestArray(int inInt1, int inInt2)
  {
attr1 = inInt1;
attr2 = inInt2;
  }
  protected int attr1;
  protected int attr2;
  public void setAttr1(int inInt){attr1 = inInt;}
  public void setAttr2(int inInt){attr2 = inInt;}
  public int getAttr1(){return attr1;}
  public int getAttr2(){return attr2;}
}
//---W E BS E R V I C
E--
//
import java.util.*;
public class WebS1
{
  public TestArray [] MyWS()
  {
TestArray[] ta = new TestArray[10];

for (int i =0; i < 10; i++)
{
  ta[i] = new TestArray(i,i);
}

return ta;
  }
}
//  D
D ---
//
http://xml.apache.org/axis/wsdd/";
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
  



  



//--  W S D L 
//

http://localhost:8080/axis/services/TimsWS";
xmlns="http://schemas.xmlsoap.org/wsdl/";
xmlns:apachesoap="http://xml.apache.org/xml-soap";
xmlns:impl="http://localhost:8080/axis/services/TimsWS";
xmlns:intf="http://localhost:8080/axis/services/TimsWS";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:tns1="urn:BeanService" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>http://www.w3.org/2001/XMLSchema";>http://schemas.xmlsoap.org/soap/encoding/"/>http://localhost:8080/axis/services/TimsWS";
xmlns="http://www.w3.org/2001/XMLSchema";>http://schemas.xmlsoap.org/soap/encoding/"/>
  

  
  
  
  

  
  

  
  
http://schemas.xmlsoap.org/soap/http"/>

  
  
http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://DefaultNamespace"; use="encoded"/>
  
  
http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://localhost:8080/axis/services/TimsWS"; use="encoded"/>
  

  
  

  http://localhost:8080/axis/services/TimsWS"/>