webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

Implementation of GraphQL vs REST using Integration Server & webMethods Designer 

Tue June 25, 2019 07:34 AM

This article intends to highlight the advantage of GraphQL over REST as a preffered choice of interface endpoint implementation.


#wiki
#suite
#GraphQL
#webMethods
#Integration-Server-and-ESB

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Comments

Thu June 24, 2021 03:33 AM

I have a problem to call graphql query.
In Body sending as: {
“query”: "query($first:Integer, $lastCursor:String, $catalogueRef: String!){
variantProducts(catalogue: {ref: $catalogueRef}, first:$first, after:$lastCursor){
pageInfo{
hasNextPage
}
edges{
cursor
node{
product{
name
}
ref
status
attributes{
name
type
value
}
}
}
}
}
,
“variables”: {
“first”:10,
“lastCursor”: null,
“catalogueRef”:“COMPATIBILITY:1”
}
}
But receiving below error: com.wm.app.b2b.server.ServiceException: com.wm.util.coder.InvalidDatatypeException: [ISC.0076.9012] Invalid state. JSON input stream does not start with the “{” character.


#webMethods
#suite
#GraphQL
#Integration-Server-and-ESB
#wiki