mistake in this simple wsdl

2008-01-31 Thread mpas mpas
Hello
I am generating with Generator Wizard Guide for Eclipse Plug-in 1.3
from this simple wsdl a service.
When i invoke service with the soap client tool, client becomes
 an error, that requestMsg cannot be null!
   
  Is there any mistake in my WSDL or is another issue??
Thanks for your help
   
  wsdl---
  ?xml version=1.0 encoding=UTF-8?
wsdl:definitions name=tmService
 targetNamespace=http://ms/service;
 xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/;
 xmlns:tns=http://ms/service;
 xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;
 xmlns:xsd=http://www.w3.org/2001/XMLSchema;
 xmlns:http=http://schemas.xmlsoap.org/wsdl/http/;  
 xmlns:data=http://sm/xsd/tm;
   wsdl:types
  xsd:schema xmlns:xsd=http://www.w3.org/2001/XMLSchema;
   xsd:import namespace=http://sm/xsd/tm;
schemaLocation=tm.xsd
   /xsd:import
  /xsd:schema
 /wsdl:types
   
   wsdl:message name=fromClientReqMsg
  wsdl:part element=data:fromClientRequest name=reqPart /
 /wsdl:message
   wsdl:message name=fromtmRespMsg
  wsdl:part element=data:fromtmResponse name=respPart /
 /wsdl:message
   wsdl:portType name=tmServicePortType
  wsdl:operation name=tmOperation
   wsdl:input message=tns:fromClientReqMsg /
   wsdl:output message=tns:fromtmRespMsg /
  /wsdl:operation
 /wsdl:portType
 
 
 
 wsdl:binding name=tmServiceBinding type=tns:tmServicePortType
  soap:binding style=document  
transport=http://schemas.xmlsoap.org/soap/http; /
wsdl:operation name=tmOperation
   soap:operation  soapAction=urn:tmOperation style=document /
   wsdl:input
soap:body use=literal /
   /wsdl:input
   wsdl:output
soap:body use=literal /
   /wsdl:output
  /wsdl:operation
 /wsdl:binding
 wsdl:service name=tmService
  wsdl:port binding=tns:tmServiceBinding name=tmServicePort
   soap:address
location=http://localhost:8080/SB/services/tmService; /
  /wsdl:port
 /wsdl:service
/wsdl:definitions
   
   
  --scema---
?xml version=1.0 encoding=UTF-8?
 xsd:schema targetNamespace=http://sm/xsd/tm;  
xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
xmlns:tns=http://sm/xsd/tm;  
 elementFormDefault=qualified
  attributeFormDefault=qualified
  xsd:element name=fromClientRequest type=tns:from/
xsd:complexType name=from
  xsd:sequence
xsd:element name=requestMsg type=xsd:string/
  /xsd:sequence
/xsd:complexType
  
  xsd:element name=fromtmResponse type=tns:to/
xsd:complexType name=to
  xsd:sequence
xsd:element name=responseMsg type=xsd:string/
  /xsd:sequence
/xsd:complexType
/xsd:schema


   
-
  Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.. 

RE: mistake in this simple wsdl

2008-01-31 Thread mpas mpas
 
  I did some kind of test and i found that the wsdl and xsd file are conformed. 
  But the service skeleton generated with the wsdl2java tool is not properly 
and because of 
  That axis get the error (error = property can not be null )
  I change generated skeleton so that I removed whole code and implemented
  Service operation myself so that the little method return what it gets from 
client back to client and the service works fine!!
  I assume that wsdl2java code can not qualified my wsdl or my xsd file and
  produces some improperly code!  Could somebody verify if my assuming is 
right!?
  If so, what is wrong in these files, that tool is not able to generate a 
properly working code?
   
   
   
   

   
-
Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und viel mehr 
bietet das  neue Yahoo! Mail.