Dies ist eine statische Kopie unseres alten Forums. Es sind keine Interaktionen möglich.
This is a static copy of our old forum. Interactions are not possible.

Finn MacCool

Junior Schreiberling

  • "Finn MacCool" started this thread

Posts: 195

Date of registration: Oct 7th 2006

1

Tuesday, January 27th 2009, 6:26pm

SOA übung 12: fragen

die SupplyManagement.wsdl lässt sich auf grund von problemen mit dem importierten schema (in übung 5 selbst erstellt) nicht bei partners hinzufügen

wäre es eventuell möglich carls schema online zu stellen? oder reicht es schon irgendetwas an der relativen adressierung zu ändern?
So berichte uns weiter, sagte Diarmuid Donn, um der Liebe Gottes willen.
Fürwahr, sagte Finn, ich will nicht.

oixio

Senior Schreiberling

  • "oixio" is male

Posts: 517

Date of registration: Oct 3rd 2004

2

Tuesday, January 27th 2009, 6:29pm

Nimm die aus der bereitgestellten zip. Damit sollte es gehen.
Dieser Post wurde aus 100 % chlorfrei gebleichten, handelsüblichen, freilaufenden, glücklichen Elektronen erzeugt!

KaiStapel

Trainee

Posts: 59

Date of registration: Sep 11th 2007

Location: FG SE, LUH

3

Tuesday, January 27th 2009, 8:33pm

... oder über diesen Link (aus der WSDL ableitbar): http://hobbes.se.uni-hannover.de:8080/Su…commonTypes.xsd

Gruß,
Kai
© by Kai

Finn MacCool

Junior Schreiberling

  • "Finn MacCool" started this thread

Posts: 195

Date of registration: Oct 7th 2006

4

Tuesday, January 27th 2009, 10:42pm

dazu war ich natürlich wieder zu dumm...

vielen dank jedenfalls
So berichte uns weiter, sagte Diarmuid Donn, um der Liebe Gottes willen.
Fürwahr, sagte Finn, ich will nicht.

Finn MacCool

Junior Schreiberling

  • "Finn MacCool" started this thread

Posts: 195

Date of registration: Oct 7th 2006

5

Wednesday, January 28th 2009, 7:38pm

und gleich das nächste problem:

mit dieser eingabe (bei "data to be sent" unter activities-->edit.../add...)

Source code

1
2
3
4
5
6
7
8
9
10
11
12
<payload xmlns:ueb="http://soa08.se.uni-hannover.de/uebung09"> 
<product> 
<productId>bla</productId> 
<vendor>blubb</vendor> 
</product> 
<amount> 
<amount>23</amount> 
<unit> 
<kind>5</kind> 
</unit> 
</amount> 
</payload>


erhalte ich folgende meldung:

Quoted

<faultstring>An exception occured while invoking ODE.</faultstring>
<detail>
<Exception>org.apache.ode.axis2.OdeFault: An exception occured while invoking ODE.
....
Caused by: java.lang.IllegalArgumentException: Unexpected element in SOAP body: message payload element {http://behemoth.service.suppliersguild.org}orderProduct.



p.s.: ich habe inzwischen ein wenig an den prefixes rumgespielt und spaßeshalber auch mal alle elemente in payload gelöscht - immer noch die gleiche meldung
So berichte uns weiter, sagte Diarmuid Donn, um der Liebe Gottes willen.
Fürwahr, sagte Finn, ich will nicht.

This post has been edited 2 times, last edit by "Finn MacCool" (Jan 28th 2009, 8:13pm)


oixio

Senior Schreiberling

  • "oixio" is male

Posts: 517

Date of registration: Oct 3rd 2004

6

Thursday, January 29th 2009, 8:05am

Versuchs mal mit

Source code

1
2
3
<beh:orderProduct>
...
</beh:orderProduct>
und ohne payload.
Dieser Post wurde aus 100 % chlorfrei gebleichten, handelsüblichen, freilaufenden, glücklichen Elektronen erzeugt!

Finn MacCool

Junior Schreiberling

  • "Finn MacCool" started this thread

Posts: 195

Date of registration: Oct 7th 2006

7

Thursday, January 29th 2009, 5:30pm

das hab ich im prinzip schon gestern versucht, aber ich bin natürlich erst jetzt drauf gekommen, den BLSupplier auch bei partners hinzuzufügen :rolleyes:

naja, jetzt ist's auch egal - trotzdem danke
So berichte uns weiter, sagte Diarmuid Donn, um der Liebe Gottes willen.
Fürwahr, sagte Finn, ich will nicht.

KaiStapel

Trainee

Posts: 59

Date of registration: Sep 11th 2007

Location: FG SE, LUH

8

Friday, January 30th 2009, 9:54am

Der Vollständigkeit halber hier noch ein Beispiel, das bei mir funktioniert hat (Vorausgesetzt die Namespaces beh und blcommon wurden korrekt konfiguriert).

Source code

1
2
3
4
5
6
7
8
9
10
11
12
<beh:orderProduct>
    <beh:product>
        <blcommon:productId>1234</blcommon:productId>
        <blcommon:vendor>5678</blcommon:vendor>
    </beh:product>
    <beh:amount>
        <blcommon:amount>8</blcommon:amount>
        <blcommon:unit>
            <blcommon:kind>1</blcommon:kind>
        </blcommon:unit>
    </beh:amount>
</beh:orderProduct>


Gruß,
Kai
© by Kai