ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » prob while creating mxsd from a wsdl file

Post new topic  Reply to topic
 prob while creating mxsd from a wsdl file « View previous topic :: View next topic » 
Author Message
ammu
PostPosted: Mon Jul 02, 2007 1:18 am    Post subject: prob while creating mxsd from a wsdl file Reply with quote

Apprentice

Joined: 26 Apr 2007
Posts: 25

Hi i am trying to crate a msg def file from wsdl file. i have two querries.

1. How my final msg set should look? i.e., once i import the wsdl, two mxsd are created. One for soapenv and one for my actual msg. The soapenv.mxsd has some wildcard elements and wildcard attributes. Should i replace it with the elements ref from the other mxsd?

2. When the wsdl file is simple (without any import/include) i am able to create the mxsd file from it. But when the wsdl file contains the import/include stmt, i am unable to create the mxsd. (when import stmt is mentioned, then while create the mxsd it says the following error:
BIP0116E: unable to write to local fiel system.). How do i create the mxsd when the wsdl file has import/inclue stmts.
Back to top
View user's profile Send private message
ammu
PostPosted: Mon Jul 02, 2007 2:27 am    Post subject: Message sets for SOAP message modeling Reply with quote

Apprentice

Joined: 26 Apr 2007
Posts: 25

Got the soln for my 1st querry:
Follow this link:
http://www.ibm.com/developerworks/ibm/library/i-merge12/index.html
(under Message sets for SOAP message modeling tab).

But still having problem with creating mxsd from the wsdl file which has import/include stmt.
The wsdl file is a valid one. I know am missing some point while creating the msg set. Can any one point me to a ref to create the mxsd.[/u]
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jul 02, 2007 3:11 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

There should be a log file created when you import the wsdl to create the message def... It might tell you why the import failed.

In general, you need to create mxsds from the import/include files as well.

So if your wsdl includes common.xsd and header.xsd or whatever, then you need to create message definition files from those as well as the wsdl itself.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jul 02, 2007 3:29 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

jefflowrey wrote:
There should be a log file created when you import the wsdl to create the message def... It might tell you why the import failed.

In general, you need to create mxsds from the import/include files as well.

So if your wsdl includes common.xsd and header.xsd or whatever, then you need to create message definition files from those as well as the wsdl itself.

If you do not want to import the dependencies and just want the import of the wsdl to do it all you MUST have the dependencies (import/include) in the directories relative to the location of the wsdl as specified in the wsdl's location description)

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
ammu
PostPosted: Mon Jul 02, 2007 6:31 am    Post subject: Reply with quote

Apprentice

Joined: 26 Apr 2007
Posts: 25

Thanks Jeff & fjb,
got the ans.
The prob is in the wsdl file while importing the schema location is specified as "http:...". I am unable to import this wsdl.
When i copied the xsd to my local workarea, and specified that location in the wsdl it works fine.

Is this the way we need to specify the schema location?
But with schema location as "http.." why i am unable to import it.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jul 02, 2007 2:50 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

We don't use http:, we use urn: for the schema location.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
recallsunny
PostPosted: Tue Jul 03, 2007 10:07 am    Post subject: Reply with quote

Disciple

Joined: 15 Jun 2005
Posts: 163
Location: Massachusetts

From IBM toolkit documentation: When an XML schema resides on a remote server
Code:
<purchaseOrder xmlns:="www.ibm.com"
 xsi:schemaLocation="http://www.ibm.com po/xsd/PurchaseOrder.xsd ">

Several functions in the XML editor, such as validation and content assist, require the availability of a DTD or an XML schema.

Normally, this case poses no problem, because the DTD or XML schema can be retrieved from the remote server. However, if you are behind a firewall, and do not have a SOCKSified system, the workbench currently does not provide a way for you to specify a socks server for retrieving a DTD or XML schema. If you are unable to SOCKSify your system, the workaround for this problem is to retrieve a copy of the DTD or XML schema (using a Web browser, for example) and save that copy on your local machine. Then, you can either place a local copy in the same project as your XML file, or use the XML Catalog to associate a public identifier with the DTD's (local) location.

In your case check if the machine has access to the URI (from behind the firewall) or download the file to local path as suggested above.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » prob while creating mxsd from a wsdl file
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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.