XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Posttop
Ashwin KondhalkarSubject: Issue with XSD
Author: Ashwin Kondhalkar
Date: 18 Aug 2010 06:21 AM
Hi,

I am developing web services using CXF 2.2.8. I am able to develop and deploy the web service ear file on weblogic application server 10.3. I am also able to see the generated WSDL in the browser. When I try to set up the project in SOAP UI, i am getting below exception.

**********************************************************************
Issue1 with soapUI: Tue Aug 10 16:10:51 EDT 2010:ERROR:An error occured [https://localhost:32253/domainservices/services/GetSoftwareAssetInfoService?wsdl:0: error: src-resolve: attribute 'MediaType@http://service.citigroup.com/provider/domainservices/NameANDAddress/x2004/' not found.], see error log for details

[https://localhost:32253/domainservices/services/GetSoftwareAssetInfoService?wsdl:0: error: src-resolve: attribute 'ContactHours@http://service.citigroup.com/provider/domainservices/NameANDAddress/x2004/' not found.], see error log for details
**********************************************************************

After lot of struggle, I added below two attributes,

**********************************************************************
<xsd:attribute name="MediaType" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Free text explanation of the line type. E.g.: Telephone, Mobile, Fax, modem</xsd:documentation>
</xsd:annotation>
</xsd:attribute>

<xsd:attribute name="ContactHours" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Free text expression of contact hours</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
**********************************************************************

to the complex type "AddressType" and deployed after that so it started working. Can you please check the attached xsd and tell me if there is something wrong with it.

Thanks
Ashwin


UnknownxNALCitiDomainSvcs.xsd
xsd document

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.