FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Testing Composite Application

 
Post new topic   Reply to topic    NetBeans Forums -> SOA Users
View previous topic :: View next topic  
Author Message
doviche



Joined: 16 Oct 2009
Posts: 2

PostPosted: Fri Oct 16, 2009 1:05 pm    Post subject: Testing Composite Application Reply with quote

Hi there guys,
I have problem when I try to test a compiste application

When I try to test a composite application in netbeans, composed by ejb(webservice impl which works properly) and a bpel which is intended to orchestrate services on this webservice impl, the test I provided to the compositeapp fails raising the following exception:

Before I place the exception I would like to ask you something else:
When you provide the test to the composite app, do you use the wsdl from the casaPort(), or the wsdl from your bpel(PartnerLink) wired into the composite app or directly the one from your service such as my ejb-webservice(partnerlink) wired as well into the composited app???

Because when I use the wsdl from my wired ejb-webservice, the test works instead if I use the ones from the bpel or the composite app itself, it fails.

Since I want to provide orchestration to my ejb-webservices, I find more logical to provide this orchestration by using my composite app or my bpel wsdl(s) in my test.

here below I posted the exception


com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Bad response: (404Not Found
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:191)
at org.netbeans.modules.compapp.catd.util.Util.sendMessage(Util.java:365)
at org.netbeans.modules.compapp.catd.ConfiguredTest$ConcurrentTestSendOnlyRunnable.run(ConfiguredTest.java:1839)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Bad response: (404Not Found
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:185)
... 3 more
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Bad response: (404Not Found
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:368)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:214)
... 5 more

CAUSE:

java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Bad response: (404Not Found
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:185)
at org.netbeans.modules.compapp.catd.util.Util.sendMessage(Util.java:365)
at org.netbeans.modules.compapp.catd.ConfiguredTest$ConcurrentTestSendOnlyRunnable.run(ConfiguredTest.java:1839)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Bad response: (404Not Found
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:368)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:214)
... 5 more

CAUSE:

java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Bad response: (404Not Found
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:185)
at org.netbeans.modules.compapp.catd.util.Util.sendMessage(Util.java:365)
at org.netbeans.modules.compapp.catd.ConfiguredTest$ConcurrentTestSendOnlyRunnable.run(ConfiguredTest.java:1839)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Bad response: (404Not Found
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:368)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:214)
... 5 more
Test TestCase1\Concurrent.properties Failed. (Destination: http://localhost:8088/casaService1/casaPort1)
Details:
<Concurrent test thread 0> is Errored. Success rate 0/1
)



Thanks a lot in advance to all of you.


Douglas
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> SOA Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB