473,387 Members | 1,556 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

WebService Definition

Hi all, I'm analizing the WebServices of an application with the Mindreef SOAPscope tool. I'm trying to make those WebServices be compatible
with "WS-I Basic Profile 1.0" and "WS-I Basic Profile 1.1 + SOAP Binding Profile 1.0" but I'm finding several flaws I would like to correct. I have
solved the ones I knew but there are some I dont know how to fix. For example:
Expand|Select|Wrap|Line Numbers
  1. XSD Schema Validation      
  2. XSD Validation
  3. Category: Basic Quality Check
  4.  
  5. Schema validation error on node xsd:element
  6. Error resolving component 'ns2:CH3UnknownCodeSystem'. It was detected that 'ns2:CH3UnknownCodeSystem' is in namespace
  7. 'http://exception.vapi.cts.ch3.maiden.com', but components from this namespace are not referenceable from schema document
  8. 'http://server:8080/cts/services/VocabularyBrowserService?WSDL&mindreefFragmentId=622604'. If this is the incorrect namespace, perhaps
  9. the prefix of 'ns2:CH3UnknownCodeSystem' needs to be changed. If this is the correct namespace, then an appropriate
  10. 'import' tag should be added to 'http://server:8080/cts/services/VocabularyBrowserService?WSDL&mindreefFragmentId=622604'. 
  11.  
And the xml of the wsdl file generated for the server is:
Expand|Select|Wrap|Line Numbers
  1. <xsd:schema targetNamespace="http://vapi.cts.ch3.maiden.com" elementFormDefault="qualified" attributeFormDefault="qualified"
  2.     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  3.     xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  4.     xmlns:ns1="http://CTSVAPI.hl7.org"
  5.     xmlns:ns2="http://exception.vapi.cts.ch3.maiden.com"
  6.     xmlns:ns3="http://exception.cts.ch3.maiden.com"
  7.     xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/"
  8.     xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"
  9.     xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/"
  10.     xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding"
  11.     xmlns:tns="http://vapi.cts.ch3.maiden.com"
  12.     xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/">
  13.    <xsd:element name="in0" type="ns1:ConceptId" />
  14.    <xsd:element name="in1" type="xsd:string" />
  15.    <xsd:element name="in2" type="xsd:boolean" />
  16.    <xsd:element name="in3" type="xsd:boolean" />
  17.    <xsd:element name="in4" type="xsd:string" />
  18.    <xsd:element name="in5" type="xsd:int" />
  19.    <xsd:element name="in6" type="xsd:int" />
  20.    <xsd:complexType name="ArrayOfString">
  21.       <xsd:sequence>
  22.          <xsd:element name="string" type="xsd:string" nillable="true" minOccurs="0" maxOccurs="unbounded" />
  23.       </xsd:sequence>
  24.    </xsd:complexType>
  25.    <xsd:element name="lookupCodeExpansionout" type="ns1:ArrayOfRelatedCode" />
  26.    <xsd:element name="CH3UnknownCodeSystem" type="ns2:CH3UnknownCodeSystem" />
  27.    <xsd:element name="CH3UnknownRelationshipCode" type="ns2:CH3UnknownRelationshipCode" />
  28.    <xsd:element name="CH3UnknownLanguageCode" type="ns2:CH3UnknownLanguageCode" />
  29.    <xsd:element name="CH3UnexpectedError" type="ns2:CH3UnexpectedError" />
  30.    <xsd:element name="CH3TimeoutError" type="ns2:CH3TimeoutError" />
  31.    <xsd:element name="CH3UnknownConceptCode" type="ns2:CH3UnknownConceptCode" />
  32.    <xsd:element name="lookupCompleteCodedConceptout" type="ns1:CompleteCodedConceptDescription" />
  33.    <xsd:element name="CH3AxisFault" type="ns3:CH3AxisFault" />
  34. </xsd:schema>
  35.  
  36. ...
  37.  
  38.    <wsdl:message name="lookupCodeExpansionRequest">
  39.       <wsdl:part element="tns:in0" name="in0" />
  40.       <wsdl:part element="tns:in1" name="in1" />
  41.       <wsdl:part element="tns:in2" name="in2" />
  42.       <wsdl:part element="tns:in3" name="in3" />
  43.       <wsdl:part element="tns:in4" name="in4" />
  44.       <wsdl:part element="tns:in5" name="in5" />
  45.       <wsdl:part element="tns:in6" name="in6" />
  46.    </wsdl:message>
  47.  
  48. ...
  49.  
I should edit the wsdd file I suppose but I'm not sure how to fix the namespace trouble from there. All the help will be appreciated, thanks ;).
Aug 10 '07 #1
0 1826

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Michael | last post by:
Hi I anyone have a clue or can solve my problem I would be glad :-) Regards Michael I have a problem with creating an XML-document where the returning data from the webservice, have been...
2
by: Zürcher See | last post by:
I have to write a program to pass data through a web service, Ill use two strongly typed dataset enbedded in a library class, a "request" and an "answer" dataset. I've wrote the program and the...
6
by: Markus Eßmayr | last post by:
Hello, I'd like to consume a WebService, which returns an array of objects which include several members of type System.String, System.Decimal and System.DateTime. In the WSDL-file, the members...
6
by: Davie | last post by:
I want to authorise a user of a web service by using the AuthHeaderValue for some reason I keep getting a null reference exception when I try to run the following code: It seems to work fine on a...
4
by: Flare | last post by:
OK. I'll try explain my problem so simple as possible. I have to send a complex data type to a WebService from a Asp.net webapplication. My Data type look like this. (A class with a porperty)...
24
by: Nikolay Petrov | last post by:
In my WebService I have structure Structure myStr1 Dim text as String Dim Key as Byte() End Structure and a Web Method, containing Function which retruns data as this Structure My qustion...
8
by: Topper | last post by:
Hello. I have simple web folders structure: -ROOT - BIN WebService.dll WebService.asmx I need to use my WebService.dll not in bin folder - for example, in ROOT. How do i this? How can i do...
4
by: Martin Ehrlich | last post by:
Hello NG. I've got a little problem with sharing types between webservices and clients. I've created a business class with public fields within a shared assembly like: public class Item {
3
by: cipher | last post by:
I'm trying to use an MFC extension dll in my C++ ASP.NET Web Service project. I have changed my project settings to specify using MFC as a shared dll. However, when I try to compile, I get the...
7
by: Nalaka | last post by:
Hi, I created a sinple web service that returns a dataSet. Then I created a client program that uses this web service (that returns the Dataset). My question is, how did the client figure...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.