Sie sind auf Seite 1von 5

2/20/13

Consuming Web Services to Place an Order - Toolbox for IT Groups

My Home
Home

Topics
Groups

People

Companies
Members

Jobs

White Paper Library

Search Toolbox.com

Activity

Contests

Topics

ERP Epicor

Groups

Epicor

ASK A NEW QUESTION

Related Discussions Vantage 8.03 CCProcessCard call (Web Services vs BO) Adding New Data into Epicor 9.05.700B2 Epicor Vantage Epicor Vantage, Speed - is it really that slow? Epicor 9 Application Errors Pre authorized credit card entry Anyone going through a new Epicor Vantage 8.0 implementation? Epicor 9 White Papers & Webcasts ERP Selection IBM Customer Experience Suite and Mobile Application Delivery Advanced Hosting Comparison Guide Taking collaboration to the cloud Companies Epicor

Consuming Web Services to Place an Order


Carrie Medine asked Feb 10, 2010 | Replies (10)

Hello, I am working on integrating our e-commerce websites with Epicor Vantage 8.03.400, I am having difficulty deciphering the vague error messages. The calls to add the customer work as well as submitting the order. I run into problems when I make a call to CCProcessCard to Authorize a credit card and I get back the message "Invalid Order". Is there any code samples or help with troubleshooting out there ? Thanks.
Join this group

Popular White Paper On This Topic Hidden Gems: 5 ERP Vendors You Might Not Have Considered

10 Replies
greg mcfarlane replied Jan 1, 0001

Whats works for me is to do it w/ the UI, and look at the BO trace You can use the WS tester to take what the trace shows and 'play it back' into the system. Once you have that working, you should be very familiar w/ what the system wants you to do. Its not always intuitive, how the system works . You have to read the trace very literally.

Anyhoo, in theory , if you can have the ws-tester execute the process w/o errors, you should be able to map that into your code and have it work. If not, you have some pretty good ammunition for a support call. Once you have it working , you can try to pare some of the fluff back out. For instance, many of the calls are specifically to load a particular form or tab.You don't necessarily need those.

Good luck. Greg McFarlane McFarlane Consulting 832 526 4915

Gary Gedney replied Jan 1, 0001

Hi there, We are in the process of implementing Epicor v9, wouldve thought the tracing option

erp.ittoolbox.com/groups/technical-functional/epicor-l/consuming-web-services-to-place-an-order-3298682

1/5

2/20/13
is in a similar place on your version.

Consuming Web Services to Place an Order - Toolbox for IT Groups

On the main menu its under options, tracing options, within there enable trace logging and write full data set, to cut down on the amount of info you see its worth clearing the log before carrying out the action that gives you the error. Once you have the error just view. Gary

Pete Beaty replied Jan 1, 0001

I would guess that you don't have everything you need in your SalesOrderDataSet. I would make sure you have at least a SalesOrderDataSetTypeOrderHed structure attached with a valid order number and card information. If you're working in WindowsForms, I could send you some code that will break down the Epicor data structures into a treeview.

Carrie Medine replied Jan 1, 0001

Thanks Greg - I'll try that!

White Papers and Webcasts


Popular ERP Winners & Losers Related Advanced Hosting Comparison Guide Taking collaboration to the cloud The Power of Email APIs More White Papers

Carrie Medine replied Jan 1, 0001

Hello everyone, I have run the BO tracing and found interesting results. When I enter an order through the BO I can make the call to authorize successfully. When I enter the the order using WebServices and then go into BO to try making the Authorize call I get the following error: "operable program or batch file" I have compared the SalesOrderDataSets from the BO orde rand the WebService Order and they match - so now I am really confused. Any more ideas on how to troubleshoot - or anyone know what that error means ? Thanks, Carrie

Carrie Medine replied Feb 11, 2010

Hi Greg, Thanks for the reply I really appreciate it - there isn't much support out there. I can run each method successfully in WS-Tester except CCProcessCard for which I get the same exception "Invalid Order". I am unsure what you mean by BO trace. I am running Visual Studio with ASP.NET tracing enabled but that doesn't give me anything new. Here is the exception trace from my webpage call:

erp.ittoolbox.com/groups/technical-functional/epicor-l/consuming-web-services-to-place-an-order-3298682

2/5

2/20/13

Consuming Web Services to Place an Order - Toolbox for IT Groups


System.Web.Services.Protocols.SoapException: Invalid order.; at Epicor.Mfg.Proxy.SalesOrderImpl.CCProcessCard(Stri ng inTranType, String& opMessage, SalesOrderDataSet ds) at Epicor.Mfg.WS.Adapters.SalesOrderBaseAdapter.CCPro cessCard(String inTranType, String& opMessage, XmlNode& ds) at System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String methodName, Object[] parameters) at SalesOrderService.SalesOrderServiceWse.CCProcessCa rd(String CompanyID, String inTranType, SalesOrderDataSetType ds, String& opMessage) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\epicorload\8b0b168e\fc5667a9\App_WebReferenc es.2newdya.2.cs:line 2586 at EpicorIntegration.SubmitNewOrder(EpicorCustomerOrd er orderCustomer) in C:\Inetpub\wwwroot\EpicorLoad\App_Code\EpicorInteg ration.vb:line 147 Any help you can provide is appreciated. Thanks, Carrie

greg mcfarlane replied Feb 12, 2010

You can call tech support , or search the knowledge base for instructions on how to turn on tracing. Im sorry, but Im not out at a Vantage client for a while. You can probably find it by fishing around. Its one of the menus in the main window. Theres a menu called tracing I think. It makes a really verbose log (you pick the location) and it outlines exactly which calls are made and which variables are set. Its my guess that you have to get an ID or something from one of the first calls and use that in the next one. greg
Top
Carrie Medine replied Feb 12, 2010

Thanks Pete - yes any code you can send through would help me out a ton!

greg mcfarlane replied Feb 17, 2010

CMedine If you are in the Houston area, we would love the opportunity to help you out if you need it. We have done a lot of web service work. Feeding the item master from part life cycle systems all the way down to writing utility applets to help w/ data cleanup tasks. Greg McFarlane

Nathan Pearce replied Nov 30, 2010

Hi Pete I'm currently working with these web services too at the moment. I find the trace logs fairly helpful. Would you be able to send the code mentioned to me also. It may help me more than the logs alone.

erp.ittoolbox.com/groups/technical-functional/epicor-l/consuming-web-services-to-place-an-order-3298682

3/5

2/20/13
New to Toolbox? Ask A Question Join

Consuming Web Services to Place an Order - Toolbox for IT Groups

This thread has been closed due to inactivity. Start a new thread here

From Around The Web

The dangers of unsubscribing


(SaneBox)

30 Best Restaurant Logos Ever Noticed


(UnderWorld Magazines)

How Can I Make My Own Website?


(Home for Business)

4 Tips To Make Your Social Media Marketing More Charismatic


(Evergreen Search Marketing)

Simple Living Idea: How to Stay Motivated?


(Simple Living and Eating)

How to Publish to Different CMS from One Editorial Calendar


(Marketing AI)

Behavior-based Customer Segmentation for More Effective Retail Marketing


(Optimove Blog)

When to Build and When to Buy (Content)


(Scribit)

Recommended by

We Recommend
Toolbox for IT - Knowledge Sharing Communities How Do I make a big career as ERP Functional Consultant? - Toolbox for IT Groups ERP Blog Entries ERP solution for Seed industry - Toolbox for IT Groups Consultant selection - Toolbox for IT Groups Export Executive Query - Toolbox for IT Groups

From Around The Web


If you get more than 50 emails/day, you will love this (ZDNet) 61 Ideas For Press Release Writing [Infographic] (Social Metrics Pro) Researchers Find That Billboard Advertising Distracts Drivers (redOrbit) The evolution of Red Bean Republic (YouTube) 7 sure shot ways to convert VISITORS to BUYERS ! (Gentle Ninja)

Recommended by

Ads by Google
Best Trading Execution Close the deal with our tools toexecute trading strategy now www.bloomberg.in Data Offers Made for You Stay Online 24x7 with Made for YouCustomized Internet Plan, Know More Vodafone.in/121 Find your Perfect Diamond From More than 100000 Solitaires!Get Expert Guidance @ 1800-102-0103 CaratLane.com/Solitaire_Diamonds Epoxy Flooring & Coating Established Manufacturer & SupplierEpoxy Flooring & Coating. Call Us! Epoxyfloorcoating.in/Call_09015146731

w hat's this?

Toolbox for IT My Home Topics

Topics on Toolbox for IT Data Center Data Center Enterprise Architecture & EAI Enterprise Architecture & EAI Networking & Infrastructure Hardware

Toolbox.com About News

erp.ittoolbox.com/groups/technical-functional/epicor-l/consuming-web-services-to-place-an-order-3298682

4/5

2/20/13
People Companies Jobs White Paper Library Collaboration Tools Discussion Groups Blogs Wiki Follow Toolbox.com Toolbox for IT on Twitter Toolbox.com on Twitter Toolbox.com on Facebook

Consuming Web Services to Place an Order - Toolbox for IT Groups


Development C Languages Java Visual Basic Web Design & Development Enterprise Applications CRM ERP Infor PeopleSoft SAP SCM Siebel Information Management Business Intelligence Database Data Warehouse Knowledge Management Oracle IT Management & Strategy Emerging Technology & Trends IT Management & Strategy Project & Portfolio Management Cloud Computing Cloud Computing Mobile & Wireless Networking Communications Technology Operating Systems Linux UNIX Windows Security Security Storage Storage Privacy Terms of Use Work at Toolbox.com Advertise Contact us Provide Feedback Help Topics Technical Support Other Communities Toolbox for HR Toolbox for Finance

Copyright 1998-2013 Ziff Davis, Inc (Toolbox.com). All rights reserved. All product names are trademarks of their respective companies. Toolbox.com is not affiliated with or endorsed by any company listed at this site.

erp.ittoolbox.com/groups/technical-functional/epicor-l/consuming-web-services-to-place-an-order-3298682

5/5

Das könnte Ihnen auch gefallen