没有合适的资源?快使用搜索试试~ 我知道了~
首页Camstar WCF文档 (英文版,源码实例)
Camstar WCF文档 (英文版,源码实例)

该文档为pdf版本,主要为代码实例,采用wcf服务形式进行操作,可以直接使用原服务接口进行操作,不用写冗余的代码,方便二次开发人员快速实现功能。
资源详情
资源评论
资源推荐

Camstar Enterprise Platform™
Developer Guide and Technical
Reference Vol 7: WCFServices
Version 6 G.1

Notices
© 2015 Siemens Product Lifecycle Management Software Inc.
This documentation and all materials related to the software are confidential and proprietary to Siemens
Product Lifecycle Management Software Inc. The contents of this document are copyrighted and cannot be
reproduced in any form without the written permission of Siemens Product Lifecycle Management Software
Inc. The information contained in this document is subject to change without notice. Siemens Product
Lifecycle Management Software Inc. disclaims all liability for any consequence arising from the use of this
material.
EXCEPT AS EXPRESSLY PROVIDED IN YOUR LICENSE AGREEMENT, SIEMENS PRODUCT LIFECYCLE
MANAGEMENT SOFTWARE INC. MAKES NO WARRANTIES, EXPRESSED OR IMPLIED, OF MERCHANTABILITY
OR FITNESS FOR A PARTICULAR PURPOSE REGARDING LICENSED PROGRAMS, RELATED DOCUMENTATION,
OR MARKETING MATERIALS.
Camstar Change, Camstar Enterprise Platform, Camstar Intelligence, Camstar Interoperability, Camstar
Manufacturing, Camstar Medical Device Suite, Camstar Quality, Camstar Semiconductor Suite, and InSite are
trademarks or registered trademarks of Siemens Product Lifecycle Management Software Inc. or its
subsidiaries in the United States and in other countries. All other trademarks, registered trademarks or service
marks belong to their respective holders.
Document History
Developer Guide and Technical Reference Vol 7: WCF Services
September 2015
Printed in the U.S.

Version 6 G.1 Developer Guide and Technical Reference Vol 7: WCF Services iii
Contents
About This Guide v
Description v
Audience v
Conventions Used v
How This Guide Is Organized vi
Related Publications vi
Contacting Technical Support vi
Summary of Technical Changes vii
Chapter 1: WCF Services Overview 1-1
Introduction 1-1
In this Chapter 1-1
WCF Services Overview 1-2
How to Locate the Services in Designer 1-2
WCF Services Descriptions 1-3
WCF Services Generator 1-22
When Using the WCF Services Generator 1-22
WCF Services Generator Architecture Diagram 1-22
General Exposing Process 1-23
Exposed State Property Field Definitions 1-23
How to Access the WCF Services Generator 1-24
How to Expose All Services 1-24
How to Expose a Specific Service 1-24
How to Expose a Specific Service Method 1-25
How to Set All Child Services as Exposed or NonExposed 1-25
How to Update All Service Methods for a Service 1-25
How to Apply All Methods to Child Services 1-26
How to Specify Where to Generate the SVC Files 1-26
Chapter 2: WCF Services Sample Code 2-1
Introduction 2-1
In This Chapter 2-1
Named Data Object Examples 2-2

Contents
iv Developer Guide and Technical Reference Vol 7: WCF Services Version 6 G.1
Adding a Factory 2-2
Updating a Factory 2-2
Deleting a Factory 2-3
Revisioned Object Example 2-4
Adding a Product 2-4
Quality Transaction Examples 2-5
Create Event (Save) 2-5
Create Event (Submit) 2-5
Update Event 2-7
Event Triage (TriageQualityObject) 2-8
Resolve Event (CloseQualityObject) 2-9
Assign and Route Approval 2-10
Sign Approval 2-11
Index Index-1

Version 6 G.1 Developer Guide and Technical Reference Vol 7: WCF Services v
About This Guide
Description
The Developer Guide and Technical Reference Vol 7: WCF Services describes the WCF Services provided
with the Camstar Portal and the WCF Generator program used to expose the services and service methods
and to generate the DLLs containing those exposed services and data contracts. Additionally, this guide
provides sample code demonstrating the different models of calling the WCF services.
Throughout this guide, all instances of Camstar Manufacturing refer to the overall product, while instances of
InSite refer to a specific component of Camstar Manufacturing.
Audience
This guide is intended for:
• System administrators, network administrators, and network managers with extensive
experience in Windows administration responsible for installing and configuring the Camstar
Enterprise Platform.
• Camstar Enterprise Platform administrators responsible for extending Camstar objects and
generating schema definitions using the Designer.
• Programmers proficient in Visual Studio.NET or any language for developing Web applications
or Windows applications that use WCF Services.
• Technical personnel responsible for implementing Camstar Enterprise Platform and its
modules.
Conventions Used
For Code Samples
Code samples are provided according to the development platform supported by the product. Camstar
publications use the following font convention to depict programming code:
' Delete the service
Set Assoc = Nothing
ServLink.RemoveService("AService")
Important: Siemens provides sample code as is without warranty of any kind, either express or
implied, including but not limited to the implied warranties of merchantability and/or
fitness for a particular purpose.
Because of the limitation of the physical page, a line of code meant to occupy one line in the program wraps
to the next line in the documentation. If this occurs, the wrapped lines are indented. For example:
Set Assoc = Nothing ServLink.RemoveService("AService");
Set Assoc = New ServLink.AddService
剩余47页未读,继续阅读










安全验证
文档复制为VIP权益,开通VIP直接复制

评论2