Hi 🙂
I’m using MyEclipse 5.5 M1.
I have a web app that works fine, and I made a web service by “file – new – other – MyEclipse – Web Services – Web Service”.
The WSDL was successfully generated, but when I try to generate a web service client according to the WSDL that I just created, I receive the following errors:
src-resolve.4.2: Error resolving component 'ns2:Byte'. It was detected that 'ns2:Byte' is in namespace 'http://lang.java', but components from this namespace are not referenceable from schema document 'http://localhost:8080/CreditoRural/services/PropostaService'.
I receive four errors like this, but with different component names.
It happens in MyEclipse 5.1 too.
Probably XFire is generating the WSDL in the wrong way.
Is this a bug? How can I make my correct WSDL file?
I’ll put just the initial lines of the WSDL, because it has more than 2000.
All help will be useful.
😀
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://webservices.rural.com"
xmlns:tns="http://webservices.rural.com" xmlns:ns4="http://io.java"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"
xmlns:ns1="http://beans.rural.com"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns3="http://fileupload.custom.myfaces.apache.org"
xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding"
xmlns:ns2="http://lang.java"
xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
attributeFormDefault="qualified" elementFormDefault="qualified"
targetNamespace="http://beans.rural.com">