John,
I've been playing around with ServiceConnect quite a lot recently,
and I find the lack of documentation on the web-services frustrating.
The Epicor book is very good for all the peripheral stuff ( setting
up input/output channels etc. ), but it doesn't tell you how to
connect the webservices together and what data they actually require
to make them work. Only after I have had a couple of training
sessions with our Epicor consultant have I started to understand how
the xslt conversions should be structured in order to get things to
work. Even then its not easy and involves a lot of trial and error.
I start by looking at the tracing logs particularly centering on the
update or equivalent method that is actually doing the work. I have
been advised to only turn on the tracing just before you do the
update and then turn it off again. This ensures you only capture the
really important stuff relating to the update activity itself. This
will then show all the fields that are necessary for the method to
work. This is where I got stuck initially, as its not just the
obvious ones that are required!! You may well have to supply default
values etc. for fields that you may not think a relevant ( or
obvious ), and this is where methods that create a blank dataset
intially can help.
Service connect also doesn't help you as the error messages are
ambiguous, and in some cases it will tell you that the operation has
completed ok when in reality it hasn't worked at all. :o(
My approach will vary dependant on the web service in question ( and
whether I can get it to work or not! ). Sometimes you can just hit
the update method and get away with it, and sometimes you are better
off calling the method that creates you a blank dataset and then take
it from there...
Out of interest, what is it that you are trying to do ?
Nick
--- In vantage@yahoogroups.com, "Waffqle Driggers" <waffqle@...>
wrote:
I've been playing around with ServiceConnect quite a lot recently,
and I find the lack of documentation on the web-services frustrating.
The Epicor book is very good for all the peripheral stuff ( setting
up input/output channels etc. ), but it doesn't tell you how to
connect the webservices together and what data they actually require
to make them work. Only after I have had a couple of training
sessions with our Epicor consultant have I started to understand how
the xslt conversions should be structured in order to get things to
work. Even then its not easy and involves a lot of trial and error.
I start by looking at the tracing logs particularly centering on the
update or equivalent method that is actually doing the work. I have
been advised to only turn on the tracing just before you do the
update and then turn it off again. This ensures you only capture the
really important stuff relating to the update activity itself. This
will then show all the fields that are necessary for the method to
work. This is where I got stuck initially, as its not just the
obvious ones that are required!! You may well have to supply default
values etc. for fields that you may not think a relevant ( or
obvious ), and this is where methods that create a blank dataset
intially can help.
Service connect also doesn't help you as the error messages are
ambiguous, and in some cases it will tell you that the operation has
completed ok when in reality it hasn't worked at all. :o(
My approach will vary dependant on the web service in question ( and
whether I can get it to work or not! ). Sometimes you can just hit
the update method and get away with it, and sometimes you are better
off calling the method that creates you a blank dataset and then take
it from there...
Out of interest, what is it that you are trying to do ?
Nick
--- In vantage@yahoogroups.com, "Waffqle Driggers" <waffqle@...>
wrote:
>seeing some
> Good afternoon,
>
> We are using service connect to integrate with a SQL app. We are
> odd behavior and we can't find any documentation regarding it. I wasare doing
> wondering if anyone knows what causes this and if its normal or we
> something wrong.we can not
>
> 1. If we want to update something (part, customer, resource, etc)
> just feed the new dataset to the update webservice. We have to usethe
> "GetRows" service to look up the existing item, merge the changesinto that
> dataset and then we can feed that to the Update webservice. If wetry to
> update without first doing a "GetRows" the process errors out.sevice to get
>
> 2. If we want to add a new record we have to call the "GetNew"
> a blank data set, merge the data into that and feed the resultsinto the
> Update webservice.to just
>
> This seems very cumbersome to us. It seems like you should be able
> feed the data into the Update service and have it update theexisting record
> or add a new one as needed. Has anyone else seen this behavior orhave some
> any insight?
>
> Thanks,
> John Driggers
> Zabatt Inc
>
>
> [Non-text portions of this message have been removed]
>