You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by sic <si...@naver.com> on 2010/07/21 10:19:11 UTC

executing SimplePublish example

I'm newer to the jUDDI and hope somebody's help.

I was trying to be fully aware of jUDDI API by the guide to using this.

Then I installed the latest binary version and executed
them(juddi-tomcat-3.0.2) as it is.

I considered jUDDI in tomcat work successfully and all of the values are
default, no any exceptions.

Next I'm trying to get started by executing the simple publishing example.

Executing SimplePublish example, I get the following exceptions.

javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing.
	at
com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188)
	at
com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
	at
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
	at
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
	at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
	at $Proxy43.saveBusiness(Unknown Source)
	at
org.apache.juddi.example.publish.SimplePublish.publish(SimplePublish.java:92)
	at
org.apache.juddi.example.publish.SimplePublish.main(SimplePublish.java:122)

Even though adding some properties(juddi.server.name=localhost,
juddi.server.port=8080) to the 'juddiv3.properties', results are the same

I hope anybody informs me of this issue(or my misunderstanding) for my
making some progress as a beginner.

sic
-- 
View this message in context: http://old.nabble.com/executing-SimplePublish-example-tp29223040p29223040.html
Sent from the jUDDI - User mailing list archive at Nabble.com.


Re: executing SimplePublish example

Posted by Kurt T Stam <ku...@gmail.com>.
Right, you can either (pick one)

1. Update the juddiv3.properties file
change   juddi.keygenerator=org.apache.juddi.keygen.KeyGenerator
to           juddi.keygenerator=org.apache.juddi.keygen.DefaultKeyGenerator

2. Specify a key on the entity you are saving, this way the keyGenerator 
is not used at all.

3. Download the 3.0.3 release from staging (it will be released tomorrow)

https://repository.apache.org/content/groups/staging/org/apache/juddi/juddi-portal-bundle/3.0.3/

Cheers,

--Kurt

sic wrote:
> Oh, this issue is duplicated the previous report.
>
> Facing same problem, you would rather refer to the following URL.
>
> https://issues.apache.org/jira/browse/JUDDI-406
>
> I'll remove this report after a while.
>
>
> sic wrote:
>   
>> I'm newer to the jUDDI and hope somebody's help.
>>
>> I was trying to be fully aware of jUDDI API by the guide to using this.
>>
>> Then I installed the latest binary version and executed
>> them(juddi-tomcat-3.0.2) as it is.
>>
>> I considered jUDDI in tomcat work successfully and all of the values are
>> default, no any exceptions.
>>
>> Next I'm trying to get started by executing the simple publishing example.
>>
>> Executing SimplePublish example, I get the following exceptions.
>>
>> javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing.
>> 	at
>> com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188)
>> 	at
>> com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
>> 	at
>> com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
>> 	at
>> com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
>> 	at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
>> 	at $Proxy43.saveBusiness(Unknown Source)
>> 	at
>> org.apache.juddi.example.publish.SimplePublish.publish(SimplePublish.java:92)
>> 	at
>> org.apache.juddi.example.publish.SimplePublish.main(SimplePublish.java:122)
>>
>> Even though adding some properties(juddi.server.name=localhost,
>> juddi.server.port=8080) to the 'juddiv3.properties', results are the same
>>
>> I hope anybody informs me of this issue(or my misunderstanding) for my
>> making some progress as a beginner.
>>
>> sic
>>
>>     
>
>   


Re: executing SimplePublish example

Posted by sic <si...@naver.com>.
Oh, this issue is duplicated the previous report.

Facing same problem, you would rather refer to the following URL.

https://issues.apache.org/jira/browse/JUDDI-406

I'll remove this report after a while.


sic wrote:
> 
> I'm newer to the jUDDI and hope somebody's help.
> 
> I was trying to be fully aware of jUDDI API by the guide to using this.
> 
> Then I installed the latest binary version and executed
> them(juddi-tomcat-3.0.2) as it is.
> 
> I considered jUDDI in tomcat work successfully and all of the values are
> default, no any exceptions.
> 
> Next I'm trying to get started by executing the simple publishing example.
> 
> Executing SimplePublish example, I get the following exceptions.
> 
> javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing.
> 	at
> com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188)
> 	at
> com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
> 	at
> com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
> 	at
> com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
> 	at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
> 	at $Proxy43.saveBusiness(Unknown Source)
> 	at
> org.apache.juddi.example.publish.SimplePublish.publish(SimplePublish.java:92)
> 	at
> org.apache.juddi.example.publish.SimplePublish.main(SimplePublish.java:122)
> 
> Even though adding some properties(juddi.server.name=localhost,
> juddi.server.port=8080) to the 'juddiv3.properties', results are the same
> 
> I hope anybody informs me of this issue(or my misunderstanding) for my
> making some progress as a beginner.
> 
> sic
> 

-- 
View this message in context: http://old.nabble.com/executing-SimplePublish-example-tp29223040p29223197.html
Sent from the jUDDI - User mailing list archive at Nabble.com.


Re: executing SimplePublish example

Posted by sic <si...@naver.com>.
Oh, It seems to be miscommunicated by something.

I have already resolved this issue by the help of kurt's comments. I chose
the first one(replace juddi.keygenerator to
"org.apache.juddi.keygen.DefaultKeyGenerator").

For this reason, I isn't likely to be need to write neither the soap fault
message nor my executing environment.

Anyway, thank you for your concern and so kind of you to make an demo that
is so helpful. 

regards, 

sic


Kurt T Stam-4 wrote:
> 
> Maybe this helps also: 
> http://apachejuddi.blogspot.com/2010/07/simple-publish-example-demo.html
> 
> nitin jain wrote:
>> Hi
>>  
>> can you give more information about soap fault message
>>  
>> is it is related to user " USER AUTHENTICATION"
>>  
>> Regards
>>  
>> Nitin  Jain 
>>
>> On Wed, Jul 21, 2010 at 1:49 PM, sic <sic_1234@naver.com 
>> <ma...@naver.com>> wrote:
>>
>>
>>     I'm newer to the jUDDI and hope somebody's help.
>>
>>     I was trying to be fully aware of jUDDI API by the guide to using
>>     this.
>>
>>     Then I installed the latest binary version and executed
>>     them(juddi-tomcat-3.0.2) as it is.
>>
>>     I considered jUDDI in tomcat work successfully and all of the
>>     values are
>>     default, no any exceptions.
>>
>>     Next I'm trying to get started by executing the simple publishing
>>     example.
>>
>>     Executing SimplePublish example, I get the following exceptions.
>>
>>     javax.xml.ws.soap.SOAPFaultException: Fault occurred while
>> processing.
>>            at
>>    
>> com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188)
>>            at
>>    
>> com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
>>            at
>>    
>> com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
>>            at
>>    
>> com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
>>            at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
>>            at $Proxy43.saveBusiness(Unknown Source)
>>            at
>>    
>> org.apache.juddi.example.publish.SimplePublish.publish(SimplePublish.java:92)
>>            at
>>    
>> org.apache.juddi.example.publish.SimplePublish.main(SimplePublish.java:122)
>>
>>     Even though adding some properties(juddi.server.name
>>     <http://juddi.server.name/>=localhost,
>>     juddi.server.port=8080) to the 'juddiv3.properties', results are
>>     the same
>>
>>     I hope anybody informs me of this issue(or my misunderstanding) for
>> my
>>     making some progress as a beginner.
>>
>>     sic
>>     --
>>     View this message in context:
>>    
>> http://old.nabble.com/executing-SimplePublish-example-tp29223040p29223040.html
>>     Sent from the jUDDI - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/executing-SimplePublish-example-tp29223040p29243064.html
Sent from the jUDDI - User mailing list archive at Nabble.com.


Re: executing SimplePublish example

Posted by Kurt T Stam <ku...@gmail.com>.
Maybe this helps also: 
http://apachejuddi.blogspot.com/2010/07/simple-publish-example-demo.html

nitin jain wrote:
> Hi
>  
> can you give more information about soap fault message
>  
> is it is related to user " USER AUTHENTICATION"
>  
> Regards
>  
> Nitin  Jain 
>
> On Wed, Jul 21, 2010 at 1:49 PM, sic <sic_1234@naver.com 
> <ma...@naver.com>> wrote:
>
>
>     I'm newer to the jUDDI and hope somebody's help.
>
>     I was trying to be fully aware of jUDDI API by the guide to using
>     this.
>
>     Then I installed the latest binary version and executed
>     them(juddi-tomcat-3.0.2) as it is.
>
>     I considered jUDDI in tomcat work successfully and all of the
>     values are
>     default, no any exceptions.
>
>     Next I'm trying to get started by executing the simple publishing
>     example.
>
>     Executing SimplePublish example, I get the following exceptions.
>
>     javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing.
>            at
>     com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188)
>            at
>     com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
>            at
>     com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
>            at
>     com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
>            at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
>            at $Proxy43.saveBusiness(Unknown Source)
>            at
>     org.apache.juddi.example.publish.SimplePublish.publish(SimplePublish.java:92)
>            at
>     org.apache.juddi.example.publish.SimplePublish.main(SimplePublish.java:122)
>
>     Even though adding some properties(juddi.server.name
>     <http://juddi.server.name/>=localhost,
>     juddi.server.port=8080) to the 'juddiv3.properties', results are
>     the same
>
>     I hope anybody informs me of this issue(or my misunderstanding) for my
>     making some progress as a beginner.
>
>     sic
>     --
>     View this message in context:
>     http://old.nabble.com/executing-SimplePublish-example-tp29223040p29223040.html
>     Sent from the jUDDI - User mailing list archive at Nabble.com.
>
>


Re: executing SimplePublish example

Posted by Kurt T Stam <ku...@gmail.com>.
Hi sic,

1. Can  you tell us some more about your environment? JDK version etc.

2. You brought up the jUDDI server and then ran the example, and you see 
the stacktrace on the client side? Did you change any property files?

--Kurt

nitin jain wrote:
> Hi
>  
> can you give more information about soap fault message
>  
> is it is related to user " USER AUTHENTICATION"
>  
> Regards
>  
> Nitin  Jain 
>
> On Wed, Jul 21, 2010 at 1:49 PM, sic <sic_1234@naver.com 
> <ma...@naver.com>> wrote:
>
>
>     I'm newer to the jUDDI and hope somebody's help.
>
>     I was trying to be fully aware of jUDDI API by the guide to using
>     this.
>
>     Then I installed the latest binary version and executed
>     them(juddi-tomcat-3.0.2) as it is.
>
>     I considered jUDDI in tomcat work successfully and all of the
>     values are
>     default, no any exceptions.
>
>     Next I'm trying to get started by executing the simple publishing
>     example.
>
>     Executing SimplePublish example, I get the following exceptions.
>
>     javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing.
>            at
>     com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188)
>            at
>     com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
>            at
>     com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
>            at
>     com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
>            at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
>            at $Proxy43.saveBusiness(Unknown Source)
>            at
>     org.apache.juddi.example.publish.SimplePublish.publish(SimplePublish.java:92)
>            at
>     org.apache.juddi.example.publish.SimplePublish.main(SimplePublish.java:122)
>
>     Even though adding some properties(juddi.server.name
>     <http://juddi.server.name/>=localhost,
>     juddi.server.port=8080) to the 'juddiv3.properties', results are
>     the same
>
>     I hope anybody informs me of this issue(or my misunderstanding) for my
>     making some progress as a beginner.
>
>     sic
>     --
>     View this message in context:
>     http://old.nabble.com/executing-SimplePublish-example-tp29223040p29223040.html
>     Sent from the jUDDI - User mailing list archive at Nabble.com.
>
>


Re: executing SimplePublish example

Posted by nitin jain <ni...@gmail.com>.
Hi

can you give more information about soap fault message

is it is related to user " USER AUTHENTICATION"

Regards

Nitin  Jain

On Wed, Jul 21, 2010 at 1:49 PM, sic <si...@naver.com> wrote:

>
> I'm newer to the jUDDI and hope somebody's help.
>
> I was trying to be fully aware of jUDDI API by the guide to using this.
>
> Then I installed the latest binary version and executed
> them(juddi-tomcat-3.0.2) as it is.
>
> I considered jUDDI in tomcat work successfully and all of the values are
> default, no any exceptions.
>
> Next I'm trying to get started by executing the simple publishing example.
>
> Executing SimplePublish example, I get the following exceptions.
>
> javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing.
>        at
> com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188)
>        at
>
> com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
>        at
>
> com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
>        at
>
> com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
>        at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
>        at $Proxy43.saveBusiness(Unknown Source)
>        at
>
> org.apache.juddi.example.publish.SimplePublish.publish(SimplePublish.java:92)
>        at
> org.apache.juddi.example.publish.SimplePublish.main(SimplePublish.java:122)
>
> Even though adding some properties(juddi.server.name=localhost,
> juddi.server.port=8080) to the 'juddiv3.properties', results are the same
>
> I hope anybody informs me of this issue(or my misunderstanding) for my
> making some progress as a beginner.
>
> sic
> --
> View this message in context:
> http://old.nabble.com/executing-SimplePublish-example-tp29223040p29223040.html
> Sent from the jUDDI - User mailing list archive at Nabble.com.
>
>