This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

WS-BPEL process using document-literal Web Service, "Compiling XSD failed"!?  RSS feed

 
Baba Bizlowsky
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.

I have problems with orchestrating a WS-BPEL process that uses a document-literal Web service as a partnerlink. I use NetBeans 6.5 IDE.

I have created a simple Web application with one document-literal type Web Service together with an appropriate schema. I used that LoanService.XSD available in the Sun One tutorial. The service simply takes a Loan Request and replies with an approval. This deploys fine and works with a simple client.

Then I tried creating a WS-BPEL process which uses that service. To start simple, the BPEL process simply acts as a proxy - it "forwards" the Loan request from the client to the service and then forwards the approval back to the client. To get the Web Service partner link, I simply dragged-and-dropped the appropriate Web Service to the right part of the BPEL design screen. I used this technique with RPC Web Service before and it works fine. BPEL designer automatically created a partnerlink and its schema in the "Partners" directory.

The Process builds fine. I created a CompositeApp in which I put a JBI Module - the jar of the process. Composite App builds fine, too. But when I want to deploy, the weirdest thing happens:




How come it cannot compile XSD? What kind of an error is that?

I'm completely baffled about this mistake and have no clue what to do. Can someone help me, please?

Thanks in advance.

 
waqas Liaqat
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi fellows I am too facing the same problem,
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!