SQL stored procedures and webmethods

Source: Internet
Author: User

Today, try to do the use of SQL stored procedures that were not made before webmethods, because the stored procedure for the database is also smattering, so first in http://www.cnblogs.com/hoojo/archive/2011/07/19/ 2110862.html to learn a bit. Write a stored procedure in SQL that has input and output, typically a good experiment.

In webmethods, you need to be prepared first: Install SQL and webmehtods, and configure SQL JDBC Adapter on the IS server. I used the sql2005 to put the database connection driver into the D:\webmethods82\IntegrationServer\packages\WmJDBCAdapter\code\jars, the corresponding datasource Class It's com.microsoft.sqlserver.jdbc.SQLServerDataSource. Make a simple SQL query to test the success of the connection.

1. Create a new adapter service and choose the store procedure type.

2,call sets the name of the DB, the owning permission, the procedure, and returns the domain.

The input and output parameters are set in the 3,parameter.

If a result set is returned in the 4,result set, then his index needs to be set.

5, run a bit, no return value, where is the problem?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.