Click here to Skip to main content
15,942,964 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i call web service with intellij, when i not exaption use String return . and i exaption use dataset return . web service is c#.net 3.5.

exaption is:


<pre lang="text">[WARNING] src-resolve.4.2: Error resolving component 's:schema'. It was detected that 's:schema' is in namespace 'http://www.w3.org/2001/XMLSchema', but components from this namespace are not referenceable from schema document 'http://localhost:14532/OISService.asmx?WSDL#types?schema1'. If this is the incorrect namespace, perhaps the prefix of 's:schema' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'http://localhost:14532/OISService.asmx?WSDL#types?schema1'.
line 75 of http://localhost/OISService.asmx?WSDL#types?schema1

[WARNING] src-resolve: Cannot resolve the name 's:schema' to a(n) 'element declaration' component.
line 75 of http://localhost/OISService.asmx?WSDL#types?schema1</pre>

[ERROR] undefined element declaration 's:schema'
line 75 of http://localhost/OISService.asmx?WSDL`

Done


create code make iis, i am not change code. wsdl code is :&lt;

<pre lang="text">

&gt; `&lt;s:element name="GetPaymentInfoFilterResponse"
&lt;s:complexType&gt;
&lt;s:sequence&gt;
&lt;s:element minOccurs="0" maxOccurs="1" name="GetPaymentInfoFilterResult"&gt;
&lt;s:complexType&gt;
&lt;s:sequence&gt;
&lt;s:element ref="s:schema"/&gt;
&lt;s:any/&gt;
&lt;/s:sequence&gt;
&lt;/s:complexType&gt;
&lt;/s:element&gt;
&lt;/s:sequence&gt;
&lt;/s:complexType&gt;
&lt;/s:element&gt;`

</pre>
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900