{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Adapter for Envoy
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • 日本語コミュニティ
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • Edge/API Management /
avatar image
1

How to trace a SOAP message on Apigee  

  • Export to PDF
Normand Plouffe created · May 05, 2017 at 11:16 PM · 779 Views

If you ever tried SOAP to REST, you will soon find out the the Trace facility limits the amount of characters that it displays. The documentation state that the "show curl" and download trace will show the full text ... NOT QUITE correct. it limits the number of characters to just over 1,000 (mine was 1115).

Since a lot of soap message have namespace headers that can be long and bodies that can be even longer that characters limit made the trace useless with soap messages.

However, Anil Sagar gave me an idea with a sample that he wrote for me: In the flow of target endpoint, add javascript that does this:

print(context.getVariable("message.content"));

This will result in the full soap message being available in the "output from all transactions" pane.

This was a great help to debug SOAP content issue ... just remember to de-activate it before running transaction volume of any kind.

thub.nodes.view.add-new-comment
tracesoap to rest
Add comment Show 1
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image jonesfloyd ♦♦ · May 08, 2017 at 05:20 PM 0
Link

Thanks for this great tip, @Normand Plouffe and @Anil Sagar. I've added a note about it in Using the trace tool and linked back to this post.

Article

Contributors

avatar image

Follow this article

48 People are following this .

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Navigation

How to trace a SOAP message on Apigee

Related Articles

cURL from Trace

Apigee - 4MV4D - API Proxy - Trace Console

Using scheduling for Apigee trace instead of manual work with control

Tutorial : Convert your web service from SOAP to REST API using Apigee Edge in few minutes

REST-SOAP with MTOM Support

Converting between XML and JSON with Apigee Edge: what you need to know

How to integrate web service between IBM Datapower and Apigee Edge in few minutes

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2021 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Adapter for Envoy
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • 日本語コミュニティ
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Badges