-
15. Re: can't force SOAPClient to generate correct SOAP
tereus Feb 19, 2009 11:09 AM (in response to tereus)Excuse me, the markers disapeared, here is latest post once again:
One fast question about SOAPClient - in this example, when I have dro and a collection of Odbiorca inside, can I have a List of Odbiorca in DRO, or should I have an object called Dane, which contains a List of Odbiorca ? It could be crucial. Another question is do I have to have a SendDRORequest object, or I can just map dro soap type to DRO object?
Answers to those questions can be very useful for me. -
16. Re: can't force SOAPClient to generate correct SOAP
tereus Feb 21, 2009 8:09 AM (in response to tereus)Hi all,
Unfortunately I did what you told me to, and I'm afraid it still doesn't work.
In my receiving WS i get correct DRO object, but its fields (two dates and "Dane" object) are null.
The dumpSOAP, which tfenelly requested looks like this:14:07:48,935 INFO [STDOUT] ------------------------------------------------------------------------------------------- ---------------------------------------------- 14:07:48,935 INFO [STDOUT] SOAP Template (Unexpanded): 14:07:49,016 INFO [STDOUT] <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tes="http://webservice_producer/testi gwsfacade"> <soapenv:Header/> <soapenv:Body> <tes:sendDRO> <!--Optional:--> <dro> <!--Optional:--> <dane> <!--Zero or more repetitions:--> <odbiorca> <!--Optional:--> <kod>?</kod> <!--Optional:--> <kodZewnetrzny>?</kodZewnetrzny> <!--Optional:--> <umowa> <!--Optional:--> <kod>?</kod> <!--Zero or more repetitions:--> <przylacza> <!--Optional:--> <kod>?</kod> <!--Optional:--> <kodNadrzedne>?</kodNadrzedne> <!--Optional:--> <kodPPE>?</kodPPE> <!--Zero or more repetitions:--> <moce> <!--Optional:--> <kierunek>?</kierunek> <!--Optional:--> <maksymalna> <!--Optional:--> <dtCzas>?</dtCzas> <!--Optional:--> <sezon>?</sezon> <!--Optional:--> <wartosc>?</wartosc> </maksymalna> <!--Optional:--> <przekroczenie> <!--Optional:--> <nadwyzka> <!--Optional:--> <ilosc>?</ilosc> <!--Optional:--> <wartosc>?</wartosc> </nadwyzka> <!--Zero or more repetitions:--> <wartosci> <!--Optional:--> <dtCzas>?</dtCzas> <!--Optional:--> <sezon>?</sezon> <!--Optional:--> <wartosc>?</wartosc> </wartosci> </przekroczenie> <!--Optional:--> <umowna>?</umowna> <!--Optional:--> <urzadzenie>?</urzadzenie> <!--Optional:--> <wielkosc>?</wielkosc> </moce> <!--Zero or more repetitions:--> <pomiary> <!--Optional:--> <jednostka>?</jednostka> <!--Optional:--> <kanal>?</kanal> <!--Optional:--> <kierunek>?</kierunek> <!--Optional:--> <mnozna>?</mnozna> <!--Zero or more repetitions:--> <rozliczenia> <!--Optional:--> <kodStrefy>?</kodStrefy> <!--Optional:--> <wartosc>?</wartosc> <!--Optional:--> <wskazanieDo> <!--Optional:--> <dtCzas>?</dtCzas> <!--Optional:--> <wartosc>?</wartosc> </wskazanieDo> <!--Optional:--> <wskazanieOd> <!--Optional:--> <dtCzas>?</dtCzas> <!--Optional:--> <wartosc>?</wartosc> </wskazanieOd> </rozliczenia> <!--Optional:--> <typUrzadzenia>?</typUrzadzenia> <!--Optional:--> <urzadzenie>?</urzadzenie> <!--Optional:--> <wielkosc>?</wielkosc> </pomiary> <!--Optional:--> <taryfa>?</taryfa> </przylacza> </umowa> </odbiorca> </dane> <!--Optional:--> <dataDo>?</dataDo> <!--Optional:--> <dataOd>?</dataOd> </dro> </tes:sendDRO> </soapenv:Body> </soapenv:Envelope> 14:07:49,026 INFO [STDOUT] ------------------------------------------------------------------------------------------- ---------------------------------------------- 14:07:49,046 INFO [STDOUT] ------------------------------------------------------------------------------------------- ---------------------------------------------- 14:07:49,046 INFO [STDOUT] SOAP Template (Expanded): 14:07:49,056 INFO [STDOUT] <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tes="http://webservice_producer/testi gwsfacade"> <soapenv:Header/> <soapenv:Body> <tes:sendDRO> <!--Optional:--> <dro> <!--Optional:--> <dane> <!--Zero or more repetitions: - cloned--> </dane> <!--Optional:--> <dataDo>?</dataDo> <!--Optional:--> <dataOd>?</dataOd> </dro> </tes:sendDRO> </soapenv:Body> </soapenv:Envelope> 14:07:49,056 INFO [STDOUT] ------------------------------------------------------------------------------------------- ---------------------------------------------- 14:07:49,066 INFO [STDOUT] ------------------------------------------------------------------------------------------- ---------------------------------------------- 14:07:49,066 INFO [STDOUT] SOAP Message (Populated Template): 14:07:49,066 INFO [STDOUT] <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tes="http://webservice_producer/testi gwsfacade"> <soapenv:Header/> <soapenv:Body> <tes:sendDRO> <!--Optional:--> <dro> <!--Optional:--> <dane> <!--Zero or more repetitions: - cloned--> </dane> <!--Optional:--> <dataDo/> <!--Optional:--> <dataOd/> </dro> </tes:sendDRO> </soapenv:Body> </soapenv:Envelope> 14:07:49,066 INFO [STDOUT] ------------------------------------------------------------------------------------------- ----------------------------------------------
Hope it tells you something..
Cheers -
17. Re: can't force SOAPClient to generate correct SOAP
tereus Feb 26, 2009 12:53 PM (in response to tereus)There's really nothing I can do about it? I'm sure there is a way to cope with this problem..
-
18. Re: can't force SOAPClient to generate correct SOAP
tfennelly Feb 27, 2009 3:14 AM (in response to tereus)Sorry.... I was waiting on you to send the output of dumpSOAP, but missed it then when you did send it :)
Something does look wrong there in the output from dumpSOAP. Can you send me the current wsdl and I'll try running it locally here. I know you posted it in an earlier post, but maybe you could email the current wsdl, just in case there were mods. -
19. Re: can't force SOAPClient to generate correct SOAP
tereus Feb 27, 2009 4:49 PM (in response to tereus)Hi,
wsdl file is already in your jboss mailbox.
Thanks