|
| Problem with attributes |
 |
Tue, 8 Apr 2008 11:45:51 +0200 |
Hi there,
I am getting a SOAP package from a webservice which containes attributes.
The attribute "StUF:sleutelVerzendend" is not filled after processing.
The
original WSDL file is huge so I cannot publish it here, but I have taken the
soap package and stripped out most parts leaving only the problem.
The line states:
<PRS StUF:soortEntiteit="F"
StUF:sleutelVerzendend="654321">
But after processing the Element "sleutelVerzendend"is blank.
Does anyone have any idea why this doesn't work.
I know it is hard to say without the WSDL but any idea is welcome, since I
have used up all mines.
Thanks,
Dennis
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<synchroonAntwoordBericht
xmlns="http://www.egem.nl/StUF/sector/bg/0204"
xmlns:StUF="http://www.egem.nl/StUF/StUF0204">
<StUF:stuurgegevens>
<StUF:berichtsoort>Lk01</StUF:berichtsoort>
<StUF:entiteittype>PRS</StUF:entiteittype>
<StUF:zender>
<StUF:applicatie>CentricStuff</StUF:applicatie>
</StUF:zender>
<StUF:kennisgeving>
<StUF:mutatiesoort>W</StUF:mutatiesoort>
<StUF:indicatorOvername>I</StUF:indicatorOvername>
</StUF:kennisgeving>
</StUF:stuurgegevens>
<body>
<PRS StUF:soortEntiteit="F"
StUF:sleutelVerzendend="654321">
<PRSADRINS StUF:soortEntiteit="R">
<ADR StUF:soortEntiteit="F">
<straatnaam
gegevengroep="ADR1">Kiekendiefstraat</straatnaam>
</ADR>
</PRSADRINS>
</PRS>
<PRS StUF:soortEntiteit="F"
StUF:sleutelVerzendend="123456">
<geslachtsnaam gegevengroep="PRS1">Jansen-van
Zomeren</geslachtsnaam>
</PRS>
</body>
</synchroonAntwoordBericht>
</soap:Body>
</soap:Envelope>
|
| Post Reply
|
| Re: Problem with attributes |
 |
Tue, 08 Apr 2008 12:10:50 +020 |
On Tue, 08 Apr 2008 11:45:51 +0200, Dennis <dennis.rusch@trobit.com>
wrote:
> Hi there,
>
> I am getting a SOAP package from a webservice which containes attributes.
> The attribute "StUF:sleutelVerzendend" is not filled after
processing.
> The
> original WSDL file is huge so I cannot publish it here, but I have taken
> the
> soap package and stripped out most parts leaving only the problem.
> The line states:
> <PRS StUF:soortEntiteit="F"
StUF:sleutelVerzendend="654321">
> But after processing the Element "sleutelVerzendend"is blank.
The other one (soortEntiteit) is filled? Did you take a look at the
Delphi-classes that were created? Can you find a difference between the
two attributes there? Did you double check if the case of the attribute is
the same as the one you can find in the Register mechanism at the end of
your Delphi unit?
Is the WSDL public?
|
| Post Reply
|
| Re: Problem with attributes |
 |
Wed, 9 Apr 2008 08:51:37 +0200 |
The other attribute is not filled either, it has a default value so I didn't
see it at first.
I checked the source generated by WSDLIMP, but I had to change it quit a bit
because as generated it would not work at all.
Multiple declarations where not visible, I had to create several Parent
classes to get it working at all.
The latest WSDLIMP does a better job, but it still will not generate a
correct source.
The WSDL and 2 XSD files are public but quit large(Relatively large that
is). Not available directly, but are free to use. Can I upload or email
them?
When I create the source manually there are several elements not created.
Using the alternative commandline
wsdlimp bg0204.wsdl -Oa+ -Ok+ -Ol+ -On+ -Ot+
I can see a lot of elements that where not used(Using Beyond Compare).
However, they are in fact used and very importand as well.
Any idea's ?
Thanks,
Dennis
"Stefan M. Huber" <looseleaf@gmx.net> schreef in bericht
news:op.t9aekhe7s9ddfw@ws-6...
On Tue, 08 Apr 2008 11:45:51 +0200, Dennis <dennis.rusch@trobit.com>
wrote:
> Hi there,
>
> I am getting a SOAP package from a webservice which containes attributes.
> The attribute "StUF:sleutelVerzendend" is not filled after
processing.
> The
> original WSDL file is huge so I cannot publish it here, but I have taken
> the
> soap package and stripped out most parts leaving only the problem.
> The line states:
> <PRS StUF:soortEntiteit="F"
StUF:sleutelVerzendend="654321">
> But after processing the Element "sleutelVerzendend"is blank.
The other one (soortEntiteit) is filled? Did you take a look at the
Delphi-classes that were created? Can you find a difference between the
two attributes there? Did you double check if the case of the attribute is
the same as the one you can find in the Register mechanism at the end of
your Delphi unit?
Is the WSDL public?
Stefan
|
| Post Reply
|
| Re: Problem with attributes |
 |
Wed, 09 Apr 2008 10:02:52 +020 |
On Wed, 09 Apr 2008 08:51:37 +0200, Dennis <dennis.rusch@trobit.com>
wrote:
> The other attribute is not filled either, it has a default value so I
> didn't
> see it at first.
> I checked the source generated by WSDLIMP, but I had to change it quit a
> bit
> because as generated it would not work at all.
> Multiple declarations where not visible, I had to create several Parent
> classes to get it working at all.
> The latest WSDLIMP does a better job, but it still will not generate a
> correct source.
> The WSDL and 2 XSD files are public but quit large(Relatively large that
> is). Not available directly, but are free to use. Can I upload or email
> them?
I won't be much of a help to you, but maybe some of the developers is. If
you can't upload it anywhere, just mail it to me and I'll upload it to my
web space and post thr URL for others to investigate. But I think, there
might be only known issues that arise when importing hte WSDL :/
But maybe, sombody from the developers can help then.
|
| Post Reply
|
| Re: Problem with attributes |
 |
Wed, 9 Apr 2008 13:03:32 +0200 |
You can upload to borland.delphi.attachments.
albert
"Stefan M. Huber" <looseleaf@gmx.net> schreef in bericht
news:op.t9b3a7dfs9ddfw@ws-6...
> On Wed, 09 Apr 2008 08:51:37 +0200, Dennis <dennis.rusch@trobit.com>
> wrote:
>
>> The other attribute is not filled either, it has a default value so I
>> didn't
>> see it at first.
>> I checked the source generated by WSDLIMP, but I had to change it quit
a
>> bit
>> because as generated it would not work at all.
>> Multiple declarations where not visible, I had to create several
Parent
>> classes to get it working at all.
>> The latest WSDLIMP does a better job, but it still will not generate a
>> correct source.
>> The WSDL and 2 XSD files are public but quit large(Relatively large
that
>> is). Not available directly, but are free to use. Can I upload or
email
>> them?
>
> I won't be much of a help to you, but maybe some of the developers is. If
> you can't upload it anywhere, just mail it to me and I'll upload it to my
> web space and post thr URL for others to investigate. But I think, there
> might be only known issues that arise when importing hte WSDL :/
>
> But maybe, sombody from the developers can help then.
>
> Stefan
|
| Post Reply
|
|
|
|
|
|
|
|
|
|