facebook

Error in WSDL gererated by MyEclipse and XFire

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #262263 Reply

    mlp2305
    Member

    Hello

    It seems that XFire generates wrong WSDL.

    
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions
        
         targetNamespace="http://alka.xss.xponcard.dk"
         xmlns="http://schemas.xmlsoap.org/wsdl/"
         xmlns:tns="http://alka.xss.xponcard.dk"
         xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
         xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/"
         xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding"
         xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/"
         xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
        >
        <types>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://alka.xss.xponcard.dk" elementFormDefault="qualified" attributeFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      
    ^^error here
    ...
    
    

    The xmlns:xsd=”http://www.w3.org/2001/XMLSchema&#8221; attribute occurs twice in the <xsd:schema> tag.
    Naturally the webservice fails because of this..

    Any way to fix this ?

    #262264 Reply

    mlp2305
    Member

    PS I use Version: 5.1.0 GA
    Build id: 20061111-5.1.0-GA

    And the build in webservice plugin (that uses xfire 1.2.2 i believe)

    #262283 Reply

    Brian Fernandes
    Moderator

    Hi,

    Can you tell me where you got the WSDL snippet you pasted above from?
    Also, how did you generate your Web service?

    Best,
    Brian.

    #262285 Reply

    mlp2305
    Member

    I created the webservice by creating a “web service project”
    then create a buttomn-up webservice, specify my
    interface and implementing class.
    The snippet was from localhost/mytestproject/services?wsdl or something (im home now)

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Error in WSDL gererated by MyEclipse and XFire

You must be logged in to post in the forum log in