You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by Andy Cutright <ac...@borland.com> on 2003/06/20 17:54:05 UTC
[juddi-Users] add_publisherAssertions
hi all,
i'm having some problems with add_publisherAssertions. i'm pretty sure i
understand the interface, but not certain. this set of messages results
in a DispositionReport containing the error "E_userMismatch". i've
created several business entities, using distinct publisher ids &
distinct authorization tokens. i then try to create a peer to peer
relationship between 2 of these businesses.
publisher 0 : id = juddi, authtoken =
D6734400-A36D-11D7-8400-DD9EBE29048E,
businessKey="D6C0A0B0-A36D-11D7-A0B0-A501D55B11A5"
publisher 1 : id = juddi1, authtoken =
D69B6570-A36D-11D7-A570-8A7C90AABFF1,
businessKey="D6D8BC90-A36D-11D7-BC90-EECA4BD8C79C"
this is the key message, the full text is included below. publisher 0 is
establishing a relationship from its business, "fromkey" to publisher
1's business, "tokey".
<add_publisherAssertions generic="2.0" xmlns="urn:uddi-org:api_v2">
<authInfo>authToken:D6734400-A36D-11D7-8400-DD9EBE29048E</authInfo>
<publisherAssertion>
<fromKey>D6C0A0B0-A36D-11D7-A0B0-A501D55B11A5</fromKey>
<toKey>D6D8BC90-A36D-11D7-BC90-EECA4BD8C79C</toKey>
<keyedReference keyName="UUID:807A2C6A-EE22-470D-ADC7-E0424A337C03"
keyValue="irrelevant-key" tModelKey="peer-peer"/>
</publisherAssertion>
</add_publisherAssertions>
this should create a publisher assertion within the registry. this does
not make it visible yet, since publisher 1 has not established the same
assertion. i have a test case for this. it's part of my junit test suite
for jUDDI, so it has to be run in that context. i'll zip it up & attach
to the bug report i'm about to file ;)
cheers,
andy
///////
Request message:
<get_authToken cred="password" generic="2.0" userID="juddi"
xmlns="urn:uddi-org:api_v2"/>
Response message:
<authToken generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6734400-A36D-11D7-8400-DD9EBE29048E</authInfo></authToken>
Request message:
<get_authToken cred="password" generic="2.0" userID="juddi2"
xmlns="urn:uddi-org:api_v2"/>
Response message:
<authToken generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D69B6570-A36D-11D7-A570-8A7C90AABFF1</authInfo></authToken>
Request message:
<get_authToken cred="password" generic="2.0" userID="juddi3"
xmlns="urn:uddi-org:api_v2"/>
Response message:
<authToken generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6AA80A0-A36D-11D7-80A0-EF10B79BDF5D</authInfo></authToken>
.
Request message:
<save_business generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6734400-A36D-11D7-8400-DD9EBE29048E</authInfo><businessEntity><name>ABC</name></businessEntity></save_business>
Response message:
<businessDetail generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2"><businessEntity authorizedName="juddi"
businessKey="D6C0A0B0-A36D-11D7-A0B0-A501D55B11A5"
operator="jUDDI.org"><discoveryURLs><discoveryURL
useType="businessEntity">http://localhost:8080/juddi/discovery?businessKey=D6C0A0B0-A36D-11D7-A0B0-A501D55B11A5</discoveryURL></discoveryURLs><name>ABC</name><contacts><contact
useType="publisher"><personName>juddi</personName></contact></contacts></businessEntity></businessDetail>
Request message:
<save_business generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D69B6570-A36D-11D7-A570-8A7C90AABFF1</authInfo><businessEntity><name>CDE</name></businessEntity></save_business>
Response message:
<businessDetail generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2"><businessEntity authorizedName="juddi2"
businessKey="D6D8BC90-A36D-11D7-BC90-EECA4BD8C79C"
operator="jUDDI.org"><discoveryURLs><discoveryURL
useType="businessEntity">http://localhost:8080/juddi/discovery?businessKey=D6D8BC90-A36D-11D7-BC90-EECA4BD8C79C</discoveryURL></discoveryURLs><name>CDE</name><contacts><contact
useType="publisher"><personName>juddi2</personName></contact></contacts></businessEntity></businessDetail>
Request message:
<save_business generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6AA80A0-A36D-11D7-80A0-EF10B79BDF5D</authInfo><businessEntity><name>FGE</name></businessEntity></save_business>
Response message:
<businessDetail generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2"><businessEntity authorizedName="juddi3"
businessKey="D6F0D870-A36D-11D7-9870-A8B2B48B8577"
operator="jUDDI.org"><discoveryURLs><discoveryURL
useType="businessEntity">http://localhost:8080/juddi/discovery?businessKey=D6F0D870-A36D-11D7-9870-A8B2B48B8577</discoveryURL></discoveryURLs><name>FGE</name><contacts><contact
useType="publisher"><personName>juddi3</personName></contact></contacts></businessEntity></businessDetail>
Request message:
<add_publisherAssertions generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6734400-A36D-11D7-8400-DD9EBE29048E</authInfo><publisherAssertion><fromKey>D6C0A0B0-A36D-11D7-A0B0-A501D55B11A5</fromKey><toKey>D6D8BC90-A36D-11D7-BC90-EECA4BD8C79C</toKey><keyedReference
keyName="UUID:807A2C6A-EE22-470D-ADC7-E0424A337C03"
keyValue="irrelevant-key"
tModelKey="peer-peer"/></publisherAssertion></add_publisherAssertions>
Response message:
<Fault><faultactor/><faultcode>Client</faultcode><faultstring>Client
Error</faultstring><detail><dispositionReport><result
errno="10140"><errInfo errCode="E_userMismatch">An attempt was made to
use the publishing API to change data that is controlled by another
party.</errInfo></result></dispositionReport></detail></Fault>
Request message:
<delete_publisherAssertions generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6734400-A36D-11D7-8400-DD9EBE29048E</authInfo><publisherAssertion><fromKey>D6C0A0B0-A36D-11D7-A0B0-A501D55B11A5</fromKey><toKey>D6D8BC90-A36D-11D7-BC90-EECA4BD8C79C</toKey><keyedReference
keyName="UUID:807A2C6A-EE22-470D-ADC7-E0424A337C03"
keyValue="irrelevant-key"
tModelKey="peer-peer"/></publisherAssertion></delete_publisherAssertions>
Response message:
<dispositionReport generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2"><result errno="0"/></dispositionReport>
Request message:
<delete_business generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6734400-A36D-11D7-8400-DD9EBE29048E</authInfo><businessKey>D6C0A0B0-A36D-11D7-A0B0-A501D55B11A5</businessKey></delete_business>
Response message:
<dispositionReport generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2"><result errno="0"/></dispositionReport>
Request message:
<delete_business generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6734400-A36D-11D7-8400-DD9EBE29048E</authInfo><businessKey>D6D8BC90-A36D-11D7-BC90-EECA4BD8C79C</businessKey></delete_business>
Response message:
<Fault><faultactor/><faultcode>Client</faultcode><faultstring>Client
Error</faultstring><detail><dispositionReport><result
errno="10140"><errInfo errCode="E_userMismatch">An attempt was made to
use the publishing API to change data that is controlled by another
party.</errInfo></result></dispositionReport></detail></Fault>
Request message:
<delete_business generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6734400-A36D-11D7-8400-DD9EBE29048E</authInfo><businessKey>D6F0D870-A36D-11D7-9870-A8B2B48B8577</businessKey></delete_business>
Response message:
<Fault><faultactor/><faultcode>Client</faultcode><faultstring>Client
Error</faultstring><detail><dispositionReport><result
errno="10140"><errInfo errCode="E_userMismatch">An attempt was made to
use the publishing API to change data that is controlled by another
party.</errInfo></result></dispositionReport></detail></Fault>
F
Time: 0.953
There was 1 failure:
1)
testCases(org.juddi.test.TestAddPublisherAssertion)junit.framework.AssertionFailedError:
An attempt was made to use the publishing API to change data that is
controlled by another party.
at
org.juddi.test.TestAddPublisherAssertion._createPeerToPeer(TestAddPublisherAssertion.java:175)
at
org.juddi.test.TestAddPublisherAssertion.testCases(TestAddPublisherAssertion.java:84)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.i
RE: [juddi-Users] add_publisherAssertions
Posted by Steve Viens <sv...@attbi.com>.
Yes, this is a bug ... I just recreated it with my own test case as
well.
Steve
-----Original Message-----
From: juddi-users-admin@lists.sourceforge.net
[mailto:juddi-users-admin@lists.sourceforge.net] On Behalf Of Andy
Cutright
Sent: Friday, June 20, 2003 6:53 PM
To: juddi-users@lists.sourceforge.net
Subject: [juddi-Users] add_publisherAssertions
hi all,
i'm having some problems with add_publisherAssertions. i'm pretty sure i
understand the interface, but not certain. this set of messages results
in a DispositionReport containing the error "E_userMismatch". i've
created several business entities, using distinct publisher ids &
distinct authorization tokens. i then try to create a peer to peer
relationship between 2 of these businesses.
publisher 0 : id = juddi, authtoken =
D6734400-A36D-11D7-8400-DD9EBE29048E,
businessKey="D6C0A0B0-A36D-11D7-A0B0-A501D55B11A5"
publisher 1 : id = juddi1, authtoken =
D69B6570-A36D-11D7-A570-8A7C90AABFF1,
businessKey="D6D8BC90-A36D-11D7-BC90-EECA4BD8C79C"
this is the key message, the full text is included below. publisher 0 is
establishing a relationship from its business, "fromkey" to publisher
1's business, "tokey".
<add_publisherAssertions generic="2.0" xmlns="urn:uddi-org:api_v2">
<authInfo>authToken:D6734400-A36D-11D7-8400-DD9EBE29048E</authInfo>
<publisherAssertion>
<fromKey>D6C0A0B0-A36D-11D7-A0B0-A501D55B11A5</fromKey>
<toKey>D6D8BC90-A36D-11D7-BC90-EECA4BD8C79C</toKey>
<keyedReference keyName="UUID:807A2C6A-EE22-470D-ADC7-E0424A337C03"
keyValue="irrelevant-key" tModelKey="peer-peer"/> </publisherAssertion>
</add_publisherAssertions>
this should create a publisher assertion within the registry. this does
not make it visible yet, since publisher 1 has not established the same
assertion. i have a test case for this. it's part of my junit test suite
for jUDDI, so it has to be run in that context. i'll zip it up & attach
to the bug report i'm about to file ;)
cheers,
andy
///////
Request message:
<get_authToken cred="password" generic="2.0" userID="juddi"
xmlns="urn:uddi-org:api_v2"/>
Response message:
<authToken generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6734400-A36D-11D7-8400-
DD9EBE29048E</authInfo></authToken>
Request message:
<get_authToken cred="password" generic="2.0" userID="juddi2"
xmlns="urn:uddi-org:api_v2"/>
Response message:
<authToken generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D69B6570-A36D-11D7-A570-
8A7C90AABFF1</authInfo></authToken>
Request message:
<get_authToken cred="password" generic="2.0" userID="juddi3"
xmlns="urn:uddi-org:api_v2"/>
Response message:
<authToken generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6AA80A0-A36D-11D7-80A0-
EF10B79BDF5D</authInfo></authToken>
.
Request message:
<save_business generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6734400-A36D-11D7-8400-
DD9EBE29048E</authInfo><businessEntity><name>ABC</name></businessEntity>
</save_business>
Response message:
<businessDetail generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2"><businessEntity authorizedName="juddi"
businessKey="D6C0A0B0-A36D-11D7-A0B0-A501D55B11A5"
operator="jUDDI.org"><discoveryURLs><discoveryURL
useType="businessEntity">http://localhost:8080/juddi/discovery?businessK
ey=D6C0A0B0-A36D-11D7-A0B0-A501D55B11A5</discoveryURL></discoveryURLs><n
ame>ABC</name><contacts><contact
useType="publisher"><personName>juddi</personName></contact></contacts><
/businessEntity></businessDetail>
Request message:
<save_business generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D69B6570-A36D-11D7-A570-
8A7C90AABFF1</authInfo><businessEntity><name>CDE</name></businessEntity>
</save_business>
Response message:
<businessDetail generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2"><businessEntity authorizedName="juddi2"
businessKey="D6D8BC90-A36D-11D7-BC90-EECA4BD8C79C"
operator="jUDDI.org"><discoveryURLs><discoveryURL
useType="businessEntity">http://localhost:8080/juddi/discovery?businessK
ey=D6D8BC90-A36D-11D7-BC90-EECA4BD8C79C</discoveryURL></discoveryURLs><n
ame>CDE</name><contacts><contact
useType="publisher"><personName>juddi2</personName></contact></contacts>
</businessEntity></businessDetail>
Request message:
<save_business generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6AA80A0-A36D-11D7-80A0-
EF10B79BDF5D</authInfo><businessEntity><name>FGE</name></businessEntity>
</save_business>
Response message:
<businessDetail generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2"><businessEntity authorizedName="juddi3"
businessKey="D6F0D870-A36D-11D7-9870-A8B2B48B8577"
operator="jUDDI.org"><discoveryURLs><discoveryURL
useType="businessEntity">http://localhost:8080/juddi/discovery?businessK
ey=D6F0D870-A36D-11D7-9870-A8B2B48B8577</discoveryURL></discoveryURLs><n
ame>FGE</name><contacts><contact
useType="publisher"><personName>juddi3</personName></contact></contacts>
</businessEntity></businessDetail>
Request message:
<add_publisherAssertions generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6734400-A36D-11D7-8400-
DD9EBE29048E</authInfo><publisherAssertion><fromKey>D6C0A0B0-A36D-11D7-A
0B0-A501D55B11A5</fromKey><toKey>D6D8BC90-A36D-11D7-BC90-EECA4BD8C79C</t
oKey><keyedReference
keyName="UUID:807A2C6A-EE22-470D-ADC7-E0424A337C03"
keyValue="irrelevant-key"
tModelKey="peer-peer"/></publisherAssertion></add_publisherAssertions>
Response message:
<Fault><faultactor/><faultcode>Client</faultcode><faultstring>Client
Error</faultstring><detail><dispositionReport><result
errno="10140"><errInfo errCode="E_userMismatch">An attempt was made to
use the publishing API to change data that is controlled by another
party.</errInfo></result></dispositionReport></detail></Fault>
Request message:
<delete_publisherAssertions generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6734400-A36D-11D7-8400-
DD9EBE29048E</authInfo><publisherAssertion><fromKey>D6C0A0B0-A36D-11D7-A
0B0-A501D55B11A5</fromKey><toKey>D6D8BC90-A36D-11D7-BC90-EECA4BD8C79C</t
oKey><keyedReference
keyName="UUID:807A2C6A-EE22-470D-ADC7-E0424A337C03"
keyValue="irrelevant-key"
tModelKey="peer-peer"/></publisherAssertion></delete_publisherAssertions
>
Response message:
<dispositionReport generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2"><result errno="0"/></dispositionReport>
Request message:
<delete_business generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6734400-A36D-11D7-8400-
DD9EBE29048E</authInfo><businessKey>D6C0A0B0-A36D-11D7-A0B0-A501D55B11A5
</businessKey></delete_business>
Response message:
<dispositionReport generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2"><result errno="0"/></dispositionReport>
Request message:
<delete_business generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6734400-A36D-11D7-8400-
DD9EBE29048E</authInfo><businessKey>D6D8BC90-A36D-11D7-BC90-EECA4BD8C79C
</businessKey></delete_business>
Response message:
<Fault><faultactor/><faultcode>Client</faultcode><faultstring>Client
Error</faultstring><detail><dispositionReport><result
errno="10140"><errInfo errCode="E_userMismatch">An attempt was made to
use the publishing API to change data that is controlled by another
party.</errInfo></result></dispositionReport></detail></Fault>
Request message:
<delete_business generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6734400-A36D-11D7-8400-
DD9EBE29048E</authInfo><businessKey>D6F0D870-A36D-11D7-9870-A8B2B48B8577
</businessKey></delete_business>
Response message:
<Fault><faultactor/><faultcode>Client</faultcode><faultstring>Client
Error</faultstring><detail><dispositionReport><result
errno="10140"><errInfo errCode="E_userMismatch">An attempt was made to
use the publishing API to change data that is controlled by another
party.</errInfo></result></dispositionReport></detail></Fault>
F
Time: 0.953
There was 1 failure:
1)
testCases(org.juddi.test.TestAddPublisherAssertion)junit.framework.Asser
tionFailedError:
An attempt was made to use the publishing API to change data that is
controlled by another party.
at
org.juddi.test.TestAddPublisherAssertion._createPeerToPeer(TestAddPublis
herAssertion.java:175)
at
org.juddi.test.TestAddPublisherAssertion.testCases(TestAddPublisherAsser
tion.java:84)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at sun.reflect.DelegatingMethodAccessorImpl.i
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
juddi-users mailing list
juddi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/juddi-users
RE: [juddi-Users] add_publisherAssertions
Posted by Steve Viens <sv...@attbi.com>.
I've committed a fix to CVS.
I basically updated the logic used to determine if/when a
UserMismatchException should be thrown.
Andy, if you would could you grab the latest from CVS and verify that
the bug has been fixed? To see the change take a look at the 'execute'
method of the AddPublisherAssertionFunction class. I'll close the bug
out when I've heard back that you've confirmed the fix (or you can).
Steve
-----Original Message-----
From: juddi-users-admin@lists.sourceforge.net
[mailto:juddi-users-admin@lists.sourceforge.net] On Behalf Of Andy
Cutright
Sent: Friday, June 20, 2003 6:53 PM
To: juddi-users@lists.sourceforge.net
Subject: [juddi-Users] add_publisherAssertions
hi all,
i'm having some problems with add_publisherAssertions. i'm pretty sure i
understand the interface, but not certain. this set of messages results
in a DispositionReport containing the error "E_userMismatch". i've
created several business entities, using distinct publisher ids &
distinct authorization tokens. i then try to create a peer to peer
relationship between 2 of these businesses.
publisher 0 : id = juddi, authtoken =
D6734400-A36D-11D7-8400-DD9EBE29048E,
businessKey="D6C0A0B0-A36D-11D7-A0B0-A501D55B11A5"
publisher 1 : id = juddi1, authtoken =
D69B6570-A36D-11D7-A570-8A7C90AABFF1,
businessKey="D6D8BC90-A36D-11D7-BC90-EECA4BD8C79C"
this is the key message, the full text is included below. publisher 0 is
establishing a relationship from its business, "fromkey" to publisher
1's business, "tokey".
<add_publisherAssertions generic="2.0" xmlns="urn:uddi-org:api_v2">
<authInfo>authToken:D6734400-A36D-11D7-8400-DD9EBE29048E</authInfo>
<publisherAssertion>
<fromKey>D6C0A0B0-A36D-11D7-A0B0-A501D55B11A5</fromKey>
<toKey>D6D8BC90-A36D-11D7-BC90-EECA4BD8C79C</toKey>
<keyedReference keyName="UUID:807A2C6A-EE22-470D-ADC7-E0424A337C03"
keyValue="irrelevant-key" tModelKey="peer-peer"/> </publisherAssertion>
</add_publisherAssertions>
this should create a publisher assertion within the registry. this does
not make it visible yet, since publisher 1 has not established the same
assertion. i have a test case for this. it's part of my junit test suite
for jUDDI, so it has to be run in that context. i'll zip it up & attach
to the bug report i'm about to file ;)
cheers,
andy
///////
Request message:
<get_authToken cred="password" generic="2.0" userID="juddi"
xmlns="urn:uddi-org:api_v2"/>
Response message:
<authToken generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6734400-A36D-11D7-8400-
DD9EBE29048E</authInfo></authToken>
Request message:
<get_authToken cred="password" generic="2.0" userID="juddi2"
xmlns="urn:uddi-org:api_v2"/>
Response message:
<authToken generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D69B6570-A36D-11D7-A570-
8A7C90AABFF1</authInfo></authToken>
Request message:
<get_authToken cred="password" generic="2.0" userID="juddi3"
xmlns="urn:uddi-org:api_v2"/>
Response message:
<authToken generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6AA80A0-A36D-11D7-80A0-
EF10B79BDF5D</authInfo></authToken>
.
Request message:
<save_business generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6734400-A36D-11D7-8400-
DD9EBE29048E</authInfo><businessEntity><name>ABC</name></businessEntity>
</save_business>
Response message:
<businessDetail generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2"><businessEntity authorizedName="juddi"
businessKey="D6C0A0B0-A36D-11D7-A0B0-A501D55B11A5"
operator="jUDDI.org"><discoveryURLs><discoveryURL
useType="businessEntity">http://localhost:8080/juddi/discovery?businessK
ey=D6C0A0B0-A36D-11D7-A0B0-A501D55B11A5</discoveryURL></discoveryURLs><n
ame>ABC</name><contacts><contact
useType="publisher"><personName>juddi</personName></contact></contacts><
/businessEntity></businessDetail>
Request message:
<save_business generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D69B6570-A36D-11D7-A570-
8A7C90AABFF1</authInfo><businessEntity><name>CDE</name></businessEntity>
</save_business>
Response message:
<businessDetail generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2"><businessEntity authorizedName="juddi2"
businessKey="D6D8BC90-A36D-11D7-BC90-EECA4BD8C79C"
operator="jUDDI.org"><discoveryURLs><discoveryURL
useType="businessEntity">http://localhost:8080/juddi/discovery?businessK
ey=D6D8BC90-A36D-11D7-BC90-EECA4BD8C79C</discoveryURL></discoveryURLs><n
ame>CDE</name><contacts><contact
useType="publisher"><personName>juddi2</personName></contact></contacts>
</businessEntity></businessDetail>
Request message:
<save_business generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6AA80A0-A36D-11D7-80A0-
EF10B79BDF5D</authInfo><businessEntity><name>FGE</name></businessEntity>
</save_business>
Response message:
<businessDetail generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2"><businessEntity authorizedName="juddi3"
businessKey="D6F0D870-A36D-11D7-9870-A8B2B48B8577"
operator="jUDDI.org"><discoveryURLs><discoveryURL
useType="businessEntity">http://localhost:8080/juddi/discovery?businessK
ey=D6F0D870-A36D-11D7-9870-A8B2B48B8577</discoveryURL></discoveryURLs><n
ame>FGE</name><contacts><contact
useType="publisher"><personName>juddi3</personName></contact></contacts>
</businessEntity></businessDetail>
Request message:
<add_publisherAssertions generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6734400-A36D-11D7-8400-
DD9EBE29048E</authInfo><publisherAssertion><fromKey>D6C0A0B0-A36D-11D7-A
0B0-A501D55B11A5</fromKey><toKey>D6D8BC90-A36D-11D7-BC90-EECA4BD8C79C</t
oKey><keyedReference
keyName="UUID:807A2C6A-EE22-470D-ADC7-E0424A337C03"
keyValue="irrelevant-key"
tModelKey="peer-peer"/></publisherAssertion></add_publisherAssertions>
Response message:
<Fault><faultactor/><faultcode>Client</faultcode><faultstring>Client
Error</faultstring><detail><dispositionReport><result
errno="10140"><errInfo errCode="E_userMismatch">An attempt was made to
use the publishing API to change data that is controlled by another
party.</errInfo></result></dispositionReport></detail></Fault>
Request message:
<delete_publisherAssertions generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6734400-A36D-11D7-8400-
DD9EBE29048E</authInfo><publisherAssertion><fromKey>D6C0A0B0-A36D-11D7-A
0B0-A501D55B11A5</fromKey><toKey>D6D8BC90-A36D-11D7-BC90-EECA4BD8C79C</t
oKey><keyedReference
keyName="UUID:807A2C6A-EE22-470D-ADC7-E0424A337C03"
keyValue="irrelevant-key"
tModelKey="peer-peer"/></publisherAssertion></delete_publisherAssertions
>
Response message:
<dispositionReport generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2"><result errno="0"/></dispositionReport>
Request message:
<delete_business generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6734400-A36D-11D7-8400-
DD9EBE29048E</authInfo><businessKey>D6C0A0B0-A36D-11D7-A0B0-A501D55B11A5
</businessKey></delete_business>
Response message:
<dispositionReport generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2"><result errno="0"/></dispositionReport>
Request message:
<delete_business generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6734400-A36D-11D7-8400-
DD9EBE29048E</authInfo><businessKey>D6D8BC90-A36D-11D7-BC90-EECA4BD8C79C
</businessKey></delete_business>
Response message:
<Fault><faultactor/><faultcode>Client</faultcode><faultstring>Client
Error</faultstring><detail><dispositionReport><result
errno="10140"><errInfo errCode="E_userMismatch">An attempt was made to
use the publishing API to change data that is controlled by another
party.</errInfo></result></dispositionReport></detail></Fault>
Request message:
<delete_business generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:D6734400-A36D-11D7-8400-
DD9EBE29048E</authInfo><businessKey>D6F0D870-A36D-11D7-9870-A8B2B48B8577
</businessKey></delete_business>
Response message:
<Fault><faultactor/><faultcode>Client</faultcode><faultstring>Client
Error</faultstring><detail><dispositionReport><result
errno="10140"><errInfo errCode="E_userMismatch">An attempt was made to
use the publishing API to change data that is controlled by another
party.</errInfo></result></dispositionReport></detail></Fault>
F
Time: 0.953
There was 1 failure:
1)
testCases(org.juddi.test.TestAddPublisherAssertion)junit.framework.Asser
tionFailedError:
An attempt was made to use the publishing API to change data that is
controlled by another party.
at
org.juddi.test.TestAddPublisherAssertion._createPeerToPeer(TestAddPublis
herAssertion.java:175)
at
org.juddi.test.TestAddPublisherAssertion.testCases(TestAddPublisherAsser
tion.java:84)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at sun.reflect.DelegatingMethodAccessorImpl.i
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
juddi-users mailing list
juddi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/juddi-users