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 » Database Service in IIB

Post new topic  Reply to topic
 Database Service in IIB « View previous topic :: View next topic » 
Author Message
ppraveen33
PostPosted: Fri Feb 07, 2014 6:21 am    Post subject: Database Service in IIB Reply with quote

Apprentice

Joined: 26 Jun 2013
Posts: 36

HI
I am creating a Database Service in IIB.
So I will be getting a wsdl file and an xsd file.
So I want to expose those file(ie want to use the functionality)
So When I am trying to drag and drop the Wsdl in a flow,
I am getting the following error

"There are no imported SOAP bindings in the wsdl file"


Can anyone guide me on this?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Feb 07, 2014 6:27 am    Post subject: Reply with quote

Grand High Poobah

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

your wsdl file is not complete...
edit it in the toolkit before importing it.
Make sure you (re)generate the bindings.
Then try importing it into a library.
Once imported --- drop it onto the flow.

An imported wsdl should be deployable. That means you can drop it onto the flow. Any non importable wsdl will not allow you to drop it on the flow...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
ppraveen33
PostPosted: Mon Feb 10, 2014 2:37 am    Post subject: Reply with quote

Apprentice

Joined: 26 Jun 2013
Posts: 36

Here is my databaseService wsdl

Code:
<?xml version="1.0" encoding="UTF-8"?><wsdl:definitions name="DatabaseService" targetNamespace="http://DatabaseService" xmlns:connector="http://www.ibm.com/wmb/connector/" xmlns:db="http://www.ibm.com/wmb/connector/DBConnector" xmlns:tns="http://DatabaseService" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <wsdl:documentation>
    <wsdl:appinfo source="WMQI_APPINFO">
      <MRWSDLAppInfo imported="true"/>
    </wsdl:appinfo>
  </wsdl:documentation>
  <wsdl:types>
    <xsd:schema targetNamespace="http://DatabaseService">
      <xsd:include schemaLocation="DatabaseService.xsd"/>
    </xsd:schema>
  </wsdl:types>
  <wsdl:message name="createTestRequest">
    <wsdl:part element="tns:createTest" name="parameter"/>
  </wsdl:message>
  <wsdl:portType name="TEST_OPS_GROUP">
    <wsdl:operation name="createTest">
      <wsdl:input message="tns:createTestRequest"/>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="TEST_OPS_GROUPDBBind" type="tns:TEST_OPS_GROUP">
    <ns2:dbBinding dbmFile="EAI.dbm" xmlns="http://www.ibm.com/wmb/connector/" xmlns:ns2="http://www.ibm.com/wmb/connector/DBConnector">
      <ns2:tableMap>
        <ns2:table mappedElementName="" name="MDEAI.TEST" var="tbl-test"/>
      </ns2:tableMap>
    </ns2:dbBinding>
    <wsdl:operation name="createTest">
      <ns2:dbOperation type="INSERT" xmlns="http://www.ibm.com/wmb/connector/" xmlns:ns2="http://www.ibm.com/wmb/connector/DBConnector">
        <ns2:specifiedValues/>
      </ns2:dbOperation>
      <wsdl:input>
        <ns2:dbOperationInput xmlns="http://www.ibm.com/wmb/connector/" xmlns:ns2="http://www.ibm.com/wmb/connector/DBConnector">
          <ns2:column mapFrom="cno" name="MDEAI.TEST.CNO"/>
          <ns2:column mapFrom="cname" name="MDEAI.TEST.CNAME"/>
        </ns2:dbOperationInput>
      </wsdl:input>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="DatabaseService">
    <wsdl:port binding="tns:TEST_OPS_GROUPDBBind" name="TEST_OPS_GROUPDBBind">
      <ns2:dbAddress location="odbc:dsn:EAI" xmlns="http://www.ibm.com/wmb/connector/" xmlns:ns2="http://www.ibm.com/wmb/connector/DBConnector"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>



Can you help me in regenerating soap bindings for this wsdl ??
I have tried to create deployable wsdl,but got error "there are no soap bindings"
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Feb 10, 2014 1:09 pm    Post subject: Reply with quote

Grand High Poobah

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

The problem is that you have no soap over JMS or Soap over HTTP bindings.
Edit the wsdl in the toolkit and add the corresponding bindings/endpoints. Then generate the bindings with the replace option. Then import into the message set or message model. Use the generated wsdl in the message model to drag to the palette.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Database Service in IIB
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.