[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

daniel_poole

8/7/2003 9:02:00 AM

Hello,

I have a problem, and thats is a long posting. Thanks in advance for
helping !!!

I try to generate server classes from two wsdl files and xml schemas.
I don´t understand the error message !
Wich Members may not be derived ?


I just edited a example from Aaron Skonnard...
(http://msdn.microsoft.com/library/default.asp?url=/msdnmag/issues/02/12/XMLFil...)

so I generate the server class from my edited and validated files:
"wsdl /Server math-interface.wsdl math-soapbinding.wsdl
eMail3.0-A.0.xsd"

The XML Schema File eMail3.0-A.0.xsd include the IPDRDoc3.0.xsd
Both files are in the same local directory.
(Both files are show below & are available on
http://www.ipdr.org/public/eMail3...
http://www.ipdr.org/public/ipdr...)

And I get follow Error Message:

Error: Unable to import binding 'MathServiceSoapBinding' from
namespace 'http://example.org/math/wsdl/se....
- Unable to import operation 'Divide'.
- These members may not be derived.


Here my edited math-interface.wsdl:
I have just change the both message parts, the import location and the
types namespace.

<wsdl:definitions name="MathService"
targetNamespace="http://example.org/math/wsdl/inter...
xmlns:tns="http://example.org/math/wsdl/inter...
xmlns:xsd="http://www.w3.org/2001/XMLSc...
xmlns:wsdl="http://schemas.xmlsoap.org/w...
xmlns:types="http://www.ipdr.org/namespaces/ipdr...
<wsdl:import location="eMail3.0-A.0.xsd"
namespace="http://www.ipdr.org/namespaces/ipdr&...
<wsdl:message name="DivideSoapOutMsg">
<wsdl:part name="p" type="types:IPDR-EMAIL-Type"/>
</wsdl:message>
<wsdl:message name="DivideSoapInMsg">
<wsdl:part name="p" type="types:IPDR-EMAIL-Type"/>
</wsdl:message>
<wsdl:portType name="IMath">
<wsdl:operation name="Divide">
<wsdl:input name="DivideInput" message="tns:DivideSoapInMsg"/>
<wsdl:output name="DivideOutput" message="tns:DivideSoapOutMsg"/>
</wsdl:operation>
</wsdl:portType>
</wsdl:definitions>

here the eMail3.0-A.0.xsd:
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.ipdr.org/namespaces/...
xmlns="http://www.w3.org/2001/XMLSc...
xmlns:ipdr="http://www.ipdr.org/namespaces/...
elementFormDefault="qualified" attributeFormDefault="unqualified"
version="3.0-A.0">
<annotation>
<documentation>
Referring to a local copy will normally yield significantly faster
performance.
The name of the master IPDR schema file can either be:

http://www.ipdr.org/public/ipdr...

Alternatively, it can be a local copy of this file.
Please modify the preceding "include schemaLocation"
appropriately.
</documentation>
<documentation>This is the master IPDR schema file for
Email</documentation>
</annotation>
<include schemaLocation="ipdrDoc3.0.xsd"/>
<element name="serviceProviderID" type="string"/>
<element name="subscriberId" type="string"/>
<element name="userLoginName" type="string"/>
<element name="userLoginLocation" type="string"/>
<element name="providerName" type="string"/>
<element name="providerLocation" type="string"/>
<element name="eventType">
<simpleType>
<restriction base="string">
<enumeration value="Incoming"/>
<enumeration value="Outgoing"/>
<enumeration value="Storage"/>
</restriction>
</simpleType>
</element>
<element name="eventTime" type="dateTime"/>
<element name="size" type="int"/>
<element name="startTime" type="dateTime"/>
<element name="endTime" type="dateTime"/>
<element name="emailSubject" type="string"/>
<element name="emailAddressees" type="string"/>
<element name="numAddressees" type="int"/>
<complexType name="IPDR-EMAIL-Type">
<complexContent>
<extension base="ipdr:IPDRType">
<sequence>
<element ref="ipdr:serviceProviderID"/>
<element ref="ipdr:subscriberId"/>
<element ref="ipdr:userLoginLocation"/>
<element ref="ipdr:userLoginName"/>
<element ref="ipdr:providerName"/>
<element ref="ipdr:providerLocation"/>
<element ref="ipdr:eventType"/>
<element ref="ipdr:eventTime" minOccurs="0"/>
<element ref="ipdr:emailAddressees" minOccurs="0"/>
<element ref="ipdr:emailSubject" minOccurs="0"/>
<element ref="ipdr:startTime" minOccurs="0"/>
<element ref="ipdr:endTime" minOccurs="0"/>
<element ref="ipdr:size" minOccurs="0"/>
<element ref="ipdr:numAddressees" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
</schema>

And the ipdrDoc3.0.xsd:

<?xml version="1.0" encoding="UTF-8"?>
<!--Generated by Turbo XML 2.3.0.100. Conforms to w3c
http://www.w3.org/2001/XMLSc...
<schema targetNamespace="http://www.ipdr.org/namespaces/...
xmlns:ipdr="http://www.ipdr.org/namespaces/...
xmlns="http://www.w3.org/2001/XMLSc... version="3.0">
<element name="IPDRDoc">
<annotation>
<documentation>
The IPDRDoc element is the top-level container of
a set of IPDRs. The document will also define the entity which
recorded these IPDRs via the IPDRRecorderInfo attribute.


</documentation>
</annotation>
<complexType>
<sequence>
<element ref="ipdr:IPDR" maxOccurs="unbounded"/>
<element ref="ipdr:IPDRDoc.End" minOccurs="0"/>
</sequence>
<attribute name="docId" type="string" use="required"/>
<attribute name="version" type="string"/>
<attribute name="creationTime" type="ipdr:dateTimeMsec"/>
<attribute name="IPDRRecorderInfo" type="string"/>
</complexType>
</element>
<element name="IPDRDoc.End">
<annotation>
<documentation>
The IPDRDoc.End element optionally marks the
end of the IPDR block. It may contain some check information like a
count of IPDRs.


</documentation>
</annotation>
<complexType>
<attribute name="count" type="int"/>
<attribute name="endTime" type="ipdr:dateTimeMsec"/>
</complexType>
</element>
<element name="IPDRCreationTime" type="ipdr:dateTimeMsec"/>
<element name="seqNum" type="int"/>
<complexType name="IPDRType" final="restriction">
<annotation>
<documentation>
This is the base type for the IPDR element.
The service-specific schema can extend this by deriving from it.


</documentation>
</annotation>
<sequence>
<element ref="ipdr:IPDRCreationTime" minOccurs="0"/>
<element ref="ipdr:seqNum" minOccurs="0"/>
</sequence>
</complexType>
<element name="IPDR" type="ipdr:IPDRType">
<annotation>
<documentation>
An IPDR describes an event between a service
consumer and a service element. Details of the event are contained
within this record. All IPDR elements have a time iindicating when
the event occurred.


</documentation>
</annotation>
</element>
<simpleType name="dateTimeMsec">
<annotation>
<documentation>
This type supports time resolution at the millisecond level
It is further constrained to always use the timezone designator "Z"
indicating GMT. Quantities of this type can optionally use 3 digits of
fraction after the second to represent the milliseconds. If
absent, it is assumed the millisecond component is ".000".
Example: 1999-05-31T13:20:00.561Z


</documentation>
</annotation>
<restriction base="string">
<pattern value="[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]{3})?Z"/>
</restriction>
</simpleType>
<simpleType name="ipV4Addr">
<annotation>
<documentation>
An IP version 4 address in dotted notation decimal. Example:
15.13.120.22


</documentation>
</annotation>
<restriction base="string">
<pattern value="[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}"/>
</restriction>
</simpleType>
<simpleType name="ipV6Addr">
<annotation>
<documentation>
An IP version 6 address in colon separated 2 byte
block hexadecimal notation.
Example: FEDC:AB19:12FE:0234:98EF:1178:8891:CAFF


</documentation>
</annotation>
<restriction base="string">
<pattern value="[0-9a-fA-F]{4}:[0-9a-fA-F]{4}:[0-9a-fA-F]{4}:[0-9a-fA-F]{4}:[0-9a-fA-F]{4}:[0-9a-fA-F]{4}:[0-9a-fA-F]{4}:[0-9a-fA-F]{4}"/>
</restriction>
</simpleType>
<simpleType name="UUID">
<annotation>
<documentation>
A universal unique id in hex dash notation.
Example: f81d4fae-7dec-11d0-a765-00a0c91e6bf6


</documentation>
</annotation>
<restriction base="string">
<pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
</restriction>
</simpleType>
</schema>
1 Answer

CB@PrayForMe.com

7/27/2011 12:31:00 AM

0

On Mon, 25 Jul 2011 18:54:46 +0000 (UTC), "6139 Dead, 1282 since
1/20/09" <dead@gone.com> wrote:

>On Mon, 25 Jul 2011 12:05:16 -0600, D?nk 42? wrote:
>
>> On 2011-07-24 23:31, 6139 Dead, 1282 since 1/20/09 wrote:
>>> On Sun, 24 Jul 2011 20:37:26 -0700, mange@merde.com wrote:
>>>> The "greedy" bankers (yet he fails to mention the "greedy" 47% of
>>>> "Americans") who pay NOTHING in federal income taxes!!!
>>>
>>> Well, then, it's very simple. All those poor billionaires have to do
>>> is give up all their worldly possession, and get jobs at hamburger
>>> joints. Then they, too, drudgereport.com/will be in the "lucky" 47%!
>>
>> If you hate billionaires so much, perhaps you should boycott them by
>> refusing to purchase the products their companies produce.
>
>I don't hate them, you servile little thing; I just want them to pay
>their fair share.

I'd like to see the 47% who pay no taxes pay their fay'uh shay'uh. It
would take the preasure off my boss. That way losers like you habs
some idea how the system supposed to work.

As it 'is' social justice seekers leech off the succesful who did
something that people want in mass.

What talents do you habs that people would want?

Nuttin, that's what bur yet you want something for nuttin, no way
whoe'zay

>>
>> Here is a list of the 400 richest Americans:
>>
>> http://www.forbes.com/wealth/forbe...
>>
>> Examine the list and determine which of their companies make products
>> that you think you and your fellow hamburger flippers can replicate. Go
>> ahead and design the next generation of multi-core microprocessors or
>> new iThing, then decide how much profit to keep for yourself and how
>> much to share with your secretary and janitor.
>>
>> The combined wealth of the Forbes 400 is $1.37 trillion. Even if you
>> sent them all to the guillotine and confiscated their estates, you would
>> still be $230 billion short of the amount needed to cover this year's
>> $1.6 trillion budget deficit. And $1.37 is just their personal wealth,
>> derived from the many more trillions of dollars of wealth their
>> companies generate. Behead the American billionaire, and his company
>> will fall to to the Chinese billionaire's company, and the U.S.
>> government loses out on those tax revenues and our economic and national
>> security is weakened.
>>
>> = = = = = = = = = = = = = = = = = =
>> Quack Quack for Obama Crack!
>> http://obamacrack.gofre...